Skip to content

Instantly share code, notes, and snippets.

@rknLA
Created April 13, 2012 12:42
Show Gist options
  • Save rknLA/2376664 to your computer and use it in GitHub Desktop.
Save rknLA/2376664 to your computer and use it in GitHub Desktop.
upload error.
☺ curl -v -F '[email protected]' -F 'key=78665d0408acc5ebdd89327b3f92d51a' http://curiousjoshbooth.com/process_post.php -X POST ruby-1.9.2-p290 master 2ef119a
* About to connect() to curiousjoshbooth.com port 80 (#0)
* Trying 50.63.77.1... connected
* Connected to curiousjoshbooth.com (50.63.77.1) port 80 (#0)
> POST /process_post.php HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: curiousjoshbooth.com
> Accept: */*
> Content-Length: 53743
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=----------------------------dd182b997bf3
>
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Date: Fri, 13 Apr 2012 12:42:10 GMT
< Server: Apache
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
< Content-Type: text/html
<
Array
(
[key] => 78665d0408acc5ebdd89327b3f92d51a
)
Array
(
[image] => Array
(
[name] => mommycat.jpeg
[type] => image/jpeg
[tmp_name] => /tmp/phpgWFhgI
[error] => 0
[size] => 53427
)
)
* Connection #0 to host curiousjoshbooth.com left intact
* Closing connection #0
uploads/There was an error uploading the file, please try again!--end--%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment