Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Tribesports API example request
$ curl -v -H 'Accept: application/vnd.tribesports.api.v1+json' "http://tribesports.dev/activities/32006"
* About to connect() to tribesports.dev port 80 (#0)
* Trying 127.0.0.1... connected
* Connected to tribesports.dev (127.0.0.1) port 80 (#0)
> GET /activities/32006 HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3
> Host: tribesports.dev
> Accept: application/vnd.tribesports.api.v1+json
>
< HTTP/1.1 200 OK
< Content-Type: application/vnd.tribesports.api.v1+json; charset=utf-8
< ETag: "80e95f16aad98b77861419a15f122a3a"
< Cache-Control: max-age=0, private, must-revalidate
< X-UA-Compatible: IE=Edge
< Set-Cookie: _session_id=e3adbe39431bede9bbda5582b2e920a9; path=/; HttpOnly
< X-Runtime: 3.055897
< Connection: keep-alive
< Transfer-Encoding: chunked
<
{"id":32006,"content":"Hello, World!","creator_name":"Simon C"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment