Skip to content

Instantly share code, notes, and snippets.

@superfeedr
Created April 4, 2010 13:13
Show Gist options
  • Save superfeedr/355388 to your computer and use it in GitHub Desktop.
Save superfeedr/355388 to your computer and use it in GitHub Desktop.
# This is an example with curl. Most of languages include similar HTTP libraries.
# The -D- param logs the response and headers.
$ curl -X POST http://<your-hub-name>.superfeedr.com -d"hub.mode=publish" -d"hub.url=http://<a-feed-url>" -D-
# Expected Response
HTTP/1.1 204 No Content
Server: nginx/0.7.62
Date: Sun, 04 Apr 2010 13:11:38 GMT
Connection: keep-alive
Status: 204 No Content
X-Runtime: 0
Set-Cookie:
Cache-Control: no-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment