Created
September 17, 2012 15:12
-
-
Save jen20/3737930 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
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I fixed correlationId and metadata in my fork to match simpledocument.txt given in previous examples.