Skip to content

Instantly share code, notes, and snippets.

@chuangbo
Created March 29, 2014 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuangbo/9851133 to your computer and use it in GitHub Desktop.
Save chuangbo/9851133 to your computer and use it in GitHub Desktop.
$ http post https://io.notie.io/ source_id:=186 secret=XXXXXX title=test action=test content=test -v
POST / HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate, compress
Content-Length: 97
Content-Type: application/json; charset=utf-8
Host: io.notie.io
User-Agent: HTTPie/0.7.2
{
"action": "test",
"content": "test",
"secret": "XXXXXX",
"source_id": 186,
"title": "test"
}
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 29
Content-Type: application/json; charset=UTF-8
Date: Sat, 29 Mar 2014 09:01:52 GMT
Expires: 1800
Server: TornadoServer/3.2
{
"status_code": "1005"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment