This topic needs a title

Hi there,

surely a real dumb question but I am having a try at the event store and following the documentation I try to post a simple event via http.

C:\Windows\System32>curl -i -d “d:\projects\simpleEvent.txt” "

113/streams/newstream" -H “Content-Type:text/json”

I receive :

HTTP/1.1 415 Content-Type MUST be set for POST PUT and DELETE

Content-Length: 0

Server: Microsoft-HTTPAPI/2.0


Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-PINGOTHER

Access-Control-Allow-Origin: *

and I would have expected something like :

HTTP/1.1 201 Created
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, DELETE
Location: [
Content-Type): application/json
Server: Mono-HTTPAPI/1.0
Content-Length: 0
Keep-Alive: timeout=15,max=100

here’s the content of simpleEvent.txt :


“CorrelationId”: “0f7fac5b-d9cb-469f-a167-70867728950e”,

“Events”: [


“Data”: {

“Foo”: “Bar”


“EventId”: “0f9fad5b-d9cb-469f-a165-70867728951e”,

“EventType”: “Type”,

“Metadata”: {

“Something”: “AValue”




“ExpectedVersion”: “-1”


I am using eventstore… on win 8. Is there anything I have overlooked?


try applicatiion/json in your curl cmd