Skip to content

Instantly share code, notes, and snippets.

@JacksonTian
Created January 5, 2015 02:39
Show Gist options
  • Save JacksonTian/e21f85db4f4cce893ccf to your computer and use it in GitHub Desktop.
Save JacksonTian/e21f85db4f4cce893ccf to your computer and use it in GitHub Desktop.
querystring
$ curl -v "http://localhost:1334/path/to/file?key=word"
* Hostname was NOT found in DNS cache
*   Trying ::1...
* Connected to localhost (::1) port 1334 (#0)
> GET /path/to/file?key=word HTTP/1.1
> User-Agent: curl/7.37.1
> Host: localhost:1334
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Mon, 05 Jan 2015 02:39:04 GMT
< Connection: keep-alive
< Transfer-Encoding: chunked
< 
hello world
* Connection #0 to host localhost left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment