Skip to content

Instantly share code, notes, and snippets.

@aaronpk
Last active February 16, 2021 18:02
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aaronpk/5744879 to your computer and use it in GitHub Desktop.
Save aaronpk/5744879 to your computer and use it in GitHub Desktop.

Swap out the two URLs (first is source, second is target) then run with curl:

curl -X POST -d @pingback.xml http://example.com/xmlrpc
<?xml version="1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>pingback.ping</methodName>
<params>
<param>
<value>
<string>http://indiewebcamp.com/comment</string>
</value>
</param>
<param>
<value>
<string>http://aaronparecki.com/replies/2013/03/19/1/indiewebcamp</string>
</value>
</param>
</params>
</methodCall>
@aaronpk
Copy link
Author

aaronpk commented Aug 20, 2019

IIRC faultCode 0 means it worked.

@prtksxna
Copy link

I checked and the other person still didn't receive a pingback, so, I convinced them to install the Webmention plugin instead 😊
Thanks for this gist though, @aaronpk!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment