Skip to content

Instantly share code, notes, and snippets.

@emilis
Forked from jen20/gist:3737939
Created December 27, 2012 20:06
Show Gist options
  • Save emilis/4391513 to your computer and use it in GitHub Desktop.
Save emilis/4391513 to your computer and use it in GitHub Desktop.
ouro@ouroboros:~/src/EventStoreDocs$ curl -i http://127.0.0.1:2113/streams/newstream/event/1?format=json
HTTP/1.1 200 OK
Access-Control-Allow-Methods: GET
Content-Type: application/json
Server: Mono-HTTPAPI/1.0
Date: Thu, 13 Sep 2012 10:57:26 GMT
Content-Length: 208
Keep-Alive: timeout=15,max=100
{
"correlationId": "0f7fac5b-d9cb-469f-a167-70867728950e",
"eventStreamId": "newstream",
"eventNumber": 1,
"eventType": "Type",
"data": {
"Foo": "Bar"
},
"metadata": {
"Something": "AValue"
}
}
@emilis
Copy link
Author

emilis commented Dec 27, 2012

Fixed correlationId and metadata values to relate to example simpledocument.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment