Skip to content

Instantly share code, notes, and snippets.

@jen20
Created September 17, 2012 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jen20/3737930 to your computer and use it in GitHub Desktop.
Save jen20/3737930 to your computer and use it in GitHub Desktop.
ouro@ouroboros$ curl -i http://127.0.0.1:2113/streams/newstream/event/1 -H "Accept: text/xml"
HTTP/1.1 200 OK
Access-Control-Allow-Methods: GET
Content-Type: text/xml
Server: Mono-HTTPAPI/1.0
Date: Thu, 13 Sep 2012 10:55:13 GMT
Content-Length: 312
Keep-Alive: timeout=15,max=100
<?xml version="1.0" encoding="UTF-8"?>
<ReadEventCompletedText>
<correlationId>680fccc2-3c6c-4ed0-ad8a-b952bd446873</correlationId>
<eventStreamId>newstream</eventStreamId>
<eventNumber>1</eventNumber>
<eventType>Type</eventType>
<data>
<Foo>Bar</Foo>
</data>
<metadata>
<Foo>Bar</Foo>
</metadata>
</ReadEventCompletedText>
@emilis
Copy link

emilis commented Dec 27, 2012

I fixed correlationId and metadata in my fork to match simpledocument.txt given in previous examples.

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