Skip to content

Instantly share code, notes, and snippets.

@tswann
Created September 21, 2012 18:21
Show Gist options
  • Save tswann/3763065 to your computer and use it in GitHub Desktop.
Save tswann/3763065 to your computer and use it in GitHub Desktop.
GET
> curl http://localhost:51307/api/tasks -v
> GET /api/tasks HTTP/1.1
> User-Agent: curl/7.23.1 (x86_64-pc-win32) libcurl/7.23.1 OpenSSL/0.9.8r zlib/1.2.5
> Host: localhost:51307
> Accept: */*
>
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: application/json; charset=utf-8
< Expires: -1
< Server: Microsoft-IIS/8.0
< X-AspNet-Version: 4.0.30319
< X-SourceFiles: =?UTF-8?B?RDpcU09VUkNFXHBsdXJhbHNpZ2h0XG12YzRcVGFza01hbmFnZXJcVGFza01hbmFnZXJcYXBpXHRhc2tz?=
< X-Powered-By: ASP.NET
< Date: Fri, 21 Sep 2012 18:34:19 GMT
< Content-Length: 127
[{"Id":1,"Subject":"Test","Description":"Some interestingish text"},{"Id":2,"Subject":"Test 2","Description":"Some more
text"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment