-
-
Save anonymous/1e5c2dd49dc703d9b089 to your computer and use it in GitHub Desktop.
The MyResource.foo is called in this case ("MyResource.foo" is printed to stderr)
This file contains 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
[thecuriousone@anonhost ~]$ curl -X POST localhost:8080/foo -v | |
* Adding handle: conn: 0x1305180 | |
* Adding handle: send: 0 | |
* Adding handle: recv: 0 | |
* Curl_addHandleToPipeline: length: 1 | |
* - Conn 0 (0x1305180) send_pipe: 1, recv_pipe: 0 | |
* About to connect() to localhost port 8080 (#0) | |
* Trying ::1... | |
* Connection refused | |
* Trying 127.0.0.1... | |
* Connected to localhost (127.0.0.1) port 8080 (#0) | |
> POST /foo HTTP/1.1 | |
> User-Agent: curl/7.32.0 | |
> Host: localhost:8080 | |
> Accept: */* | |
> | |
< HTTP/1.1 500 Internal Server Error | |
< Date: Sat, 21 Sep 2013 09:02:32 GMT | |
< Connection: close | |
< Content-Length: 0 | |
< | |
* Closing connection 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment