Created
January 27, 2015 23:49
-
-
Save joshuadfranklin/83488c5e56dc14e2f8cb to your computer and use it in GitHub Desktop.
curl Restlet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -v -w "\nHTTP %{http_code} %{time_connect} %{time_starttransfer} %{time_total}\n" http://127.0.0.1:8182/ | |
* Hostname was NOT found in DNS cache | |
* Trying 127.0.0.1... | |
* Connected to 127.0.0.1 (127.0.0.1) port 8182 (#0) | |
> GET / HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: 127.0.0.1:8182 | |
> Accept: */* | |
> | |
< HTTP/1.1 200 OK | |
* Server Restlet-Framework/2.3.0 is not blacklisted | |
< Server: Restlet-Framework/2.3.0 | |
< Date: Tue, 27 Jan 2015 23:48:15 GMT | |
< Content-type: text/plain; charset=UTF-8 | |
< Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept | |
< Content-length: 12 | |
< | |
* Connection #0 to host 127.0.0.1 left intact | |
hello, world | |
HTTP 200 0.000 0.005 0.005 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment