Skip to content

Instantly share code, notes, and snippets.

@jen20
Created September 17, 2012 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jen20/3737883 to your computer and use it in GitHub Desktop.
Save jen20/3737883 to your computer and use it in GitHub Desktop.
curl -i -H "Accept:application/atom+xml" "http://127.0.0.1:2113/streams/anewstream"
ouro@ouroboros:~$ curl -i -H "Accept:application/atom+xml" "http://127.0.0.1:2113/streams/anewstream"
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, DELETE
Content-Type: application/atom+xml
Server: Mono-HTTPAPI/1.0
Date: Sat, 08 Sep 2012 11:14:52 GMT
Content-Length: 1743
Keep-Alive: timeout=15,max=100
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Event stream 'anewstream'</title>
<id>http://127.0.0.1:2113/streams/anewstream</id>
<updated>2012-09-08T08:14:08.348643Z</updated>
<author>
<name>EventStore</name>
</author>
<link href="http://127.0.0.1:2113/streams/anewstream" rel="self" />
<link href="http://127.0.0.1:2113/streams/anewstream" rel="first" />
<link href="http://127.0.0.1:2113/streams/anewstream/range/0/20" rel="prev" />
<link href="http://127.0.0.1:2113/streams/anewstream/range/20/20" rel="next" />
<entry>
<title>anewstream #1</title>
<id>http://127.0.0.1:2113/streams/anewstream/1</id>
<updated>2012-09-08T08:14:08.348643Z</updated>
<author>
<name>EventStore</name>
</author>
<summary>Entry #1</summary>
<link href="http://127.0.0.1:2113/streams/anewstream/1" rel="edit" />
<link href="http://127.0.0.1:2113/streams/anewstream/event/1?format=text" type="text/plain" />
<link href="http://127.0.0.1:2113/streams/anewstream/event/1?format=json" rel="alternate" type="application/json" />
<link href="http://127.0.0.1:2113/streams/anewstream/event/1?format=xml" rel="alternate" type="text/xml" />
</entry>
<entry>
<title>anewstream #0</title>
<id>http://127.0.0.1:2113/streams/anewstream/0</id>
<updated>2012-09-08T08:14:08.345651Z</updated>
<author>
<name>EventStore</name>
</author>
<summary>Entry #0</summary>
<link href="http://127.0.0.1:2113/streams/anewstream/0" rel="edit" />
<link href="http://127.0.0.1:2113/streams/anewstream/event/0?format=text" type="text/plain" />
<link href="http://127.0.0.1:2113/streams/anewstream/event/0?format=json" rel="alternate" type="application/json" />
<link href="http://127.0.0.1:2113/streams/anewstream/event/0?format=xml" rel="alternate" type="text/xml" />
</entry>
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment