Created
April 4, 2010 13:13
-
-
Save superfeedr/355388 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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