Created
July 16, 2013 18:07
-
-
Save gregoryyoung/6011110 to your computer and use it in GitHub Desktop.
not sure!
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
greg@ouroboros:~/Downloads$ cat shit.json | |
[ | |
{ | |
"eventId": "fbf4a1a1-b4a3-4dfe-a01f-ec52c34e16e4", | |
"eventType": "event-type", | |
"data": { | |
"a": "1" | |
} | |
} | |
] | |
greg@ouroboros:~/Downloads$ curl -i -d @shit.json http://127.0.0.1:2113/streams/shitbird -H "Content-Type: application/json" | |
HTTP/1.1 201 Created | |
Access-Control-Allow-Methods: POST, DELETE, GET, OPTIONS | |
Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-PINGOTHER | |
Access-Control-Allow-Origin: * | |
Location: http://127.0.0.1:2113/streams/shitbird/0 | |
Content-Type: text/plain; charset: utf-8 | |
Server: Mono-HTTPAPI/1.0 | |
Date: Tue, 16 Jul 2013 18:06:32 GMT | |
Content-Length: 0 | |
Keep-Alive: timeout=15,max=100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment