node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป


Webmention Test Endpoint

A tool to test your Webmention client. Generates a demo-post and a demo-endpoint to test if your client parses the webmention-endpoint correctly and to check if the ping body is transmitted correctly.

Be sure to also test the node-webmention-testpinger of @voxpelli


First clone the repository

$ git clone

Then run the app

$ node .

The tool will spin up a server on port 9247 and provides a test-post and a test-endpoint.


You can find the test-post under


To test several possibilities, you have some options. Options can be added as query strings and will change the output of the test-posting.


With type you can choose the autodiscovery format.

  • link will add a <link rel="webmention" href="..." /> to the HTML-head
  • a will add a link <a rel="webmention" href="...">Endpoint</a> to the HTML-body
  • head will add a HTTP-Link header Link: <http://...>; rel="webmention"

You can combine several types with a semicolon separated list.


Use 'rel' to define the link relation

  • id uses the webmention relation: <link rel="webmention" href="..." />
  • uri uses the uri relation: <link rel="" href="..." />
  • both will add both relations: <link rel="webmention" href="..." />


Use url to choose between absolute and relative urls


(the default is abs)

  • abs absolute endpoint-urls
  • rel relative endpoint-urls

Status Code (HTTP)

Use status_code to simulate for example error-scenarios via HTTP-codes


Check out RFC 7231 and the Webmention Spec to find out more about the error codes.