Skip to content

Instantly share code, notes, and snippets.

@rnewson
Created May 30, 2015 16:34
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 rnewson/8f9833ebdab9cf389dbe to your computer and use it in GitHub Desktop.
Save rnewson/8f9833ebdab9cf389dbe to your computer and use it in GitHub Desktop.
➜ ~ curl 127.0.0.1:15984 -sv -H Origin:http://127.0.0.1:8000
* Rebuilt URL to: 127.0.0.1:15984/
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 15984 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.37.1
> Host: 127.0.0.1:15984
> Accept: */*
> Origin:http://127.0.0.1:8000
>
< HTTP/1.1 200 OK
< X-CouchDB-Body-Time: 0
< X-Couch-Request-ID: 6c9f3320
* Server CouchDB/aa5d63f (Erlang OTP/R14B01) is not blacklisted
< Server: CouchDB/aa5d63f (Erlang OTP/R14B01)
< Date: Sat, 30 May 2015 16:33:44 GMT
< Content-Type: text/plain; charset=utf-8
< Content-Length: 93
< Cache-Control: must-revalidate
< Access-Control-Expose-Headers: Content-Type, Cache-Control, Content-Type, Server
< Access-Control-Allow-Origin: http://127.0.0.1:8000, http://127.0.0.1:8000
< Access-Control-Allow-Credentials: true, true
<
{"couchdb":"Welcome","version":"aa5d63f","vendor":{"name":"The Apache Software Foundation"}}
* Connection #0 to host 127.0.0.1 left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment