Created
October 9, 2013 04:25
-
-
Save eyedol/6896208 to your computer and use it in GitHub Desktop.
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
* About to connect() to localhost port 80 (#0) | |
* Trying 127.0.0.1... | |
* Connected to localhost (127.0.0.1) port 80 (#0) | |
> POST /Lamu/httpdocs/api/v2/media HTTP/1.1 | |
> User-Agent: CMD User Agent | |
> Host: localhost | |
> Accept: */* | |
> Content-Length: 25364 | |
> Expect: 100-continue | |
> Content-Type: multipart/form-data; boundary=----------------------------17927af4cfcd | |
> | |
< HTTP/1.1 100 Continue | |
< HTTP/1.1 401 Unauthorized | |
< Date: Wed, 09 Oct 2013 04:24:46 GMT | |
< Server: Apache/2.4.6 (Fedora) PHP/5.5.4 | |
< X-Powered-By: PHP/5.5.4 | |
< Cache-Control: no-store | |
< Www-Authenticate: bearer realm="Ushahidi API", error="invalid_request", error_description="The content type for POST requests must be "application/x-www-form-urlencoded"" | |
< Content-Length: 131 | |
< Content-Type: text/html; charset=utf-8 | |
* HTTP error before end of send, stop sending | |
< | |
* Closing connection 0 | |
{"error":"invalid_request","error_description":"The content type for POST requests must be \"application\/x-www-form-urlencoded\""}% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment