Created
March 29, 2014 09:07
-
-
Save chuangbo/9851133 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
$ 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