Skip to content

Instantly share code, notes, and snippets.

@mxmerz
Created February 3, 2013 02:27
Show Gist options
  • Save mxmerz/4700311 to your computer and use it in GitHub Desktop.
Save mxmerz/4700311 to your computer and use it in GitHub Desktop.
Linebreaks and tabs in body.json are added for readability, the request body is without whitespace.
{
"entity":"http://mxmerz.de",
"types":["all"],
"notification_path":"notifications/KysQKUWdOscs1AUkXmQr",
"licenses":[]
}
%% HTTPS Request
"HTTP/1.1" "POST" "https://mxmerz.tent.is/tent/followers"
%% Headers
Connection: "keep-alive"
Host: "mxmerz.tent.is"
Port: 443
Link: "<http://tent.mxmerz.orion.uberspace.de/profile>; rel=\"https://tent.io/rels/profile\""
Accept-Encoding: "application/vnd.tent.v0+json"
Content-Type: "application/vnd.tent.v0+json"
%% Body
<<"{\"entity\":\"http://mxmerz.de\",\"types\":[\"all\"],\"notification_path\":\"notifications/KysQKUWdOscs1AUkXmQr\",\"licenses\":[]}">>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment