Skip to content

Instantly share code, notes, and snippets.

@ikwattro
Created January 21, 2015 13:49
Show Gist options
  • Save ikwattro/b85008b364e153b697a5 to your computer and use it in GitHub Desktop.
Save ikwattro/b85008b364e153b697a5 to your computer and use it in GitHub Desktop.
airbook:commandr ikwattro$ curl -vvv -H "Accept: application/json" -H "Content-TypRETURN count(n)", "parameters":[]]}' http://localhost:7474/db/data/transaction/commit
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 7474 (#0)
> POST /db/data/transaction/commit HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:7474
> Accept: application/json
> Content-Type: application/json
> Content-Length: 74
>
* upload completely sent off: 74 out of 74 bytes
< HTTP/1.1 200 OK
< Content-Type: application/json
< Access-Control-Allow-Origin: *
< Transfer-Encoding: chunked
* Server Jetty(9.0.5.v20130815) is not blacklisted
< Server: Jetty(9.0.5.v20130815)
<
* Connection #0 to host localhost left intact
{"results":[],"errors":[]}airbook:commandr ikwattro$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment