Skip to content

Instantly share code, notes, and snippets.

View emilis's full-sized avatar
👾
your code needs more spaces

Emilis Dambauskas emilis

👾
your code needs more spaces
View GitHub Profile
@emilis
emilis / gist:4391488
Last active December 10, 2015 05:58 — forked from jen20/gist:3737930
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"?>
@emilis
emilis / gist:4391513
Created December 27, 2012 20:06 — forked from jen20/gist:3737939
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
{