I still don't see the image on the server. btw, now the fields is 
outputing: { myupload: 'pic.JPG' }
here is the verbose output:

curl -F "myupload=pic.JPG" 0.0.0.0:3001/api -v

* About to connect() to 0.0.0.0 port 3001 (#0)
*   Trying 0.0.0.0... connected
* Connected to 0.0.0.0 (0.0.0.0) port 3001 (#0)
> POST /api 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: 0.0.0.0:3001
> Accept: */*
> Content-Length: 164
> Expect: 100-continue
> Content-Type: multipart/form-data; 
boundary=----------------------------0014faf53682
> 
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< content-type: text/plain
< Date: Wed, 25 Jul 2012 00:58:37 GMT
< Connection: keep-alive
< Transfer-Encoding: chunked
< 
received upload:

* Connection #0 to host 0.0.0.0 left intact
* Closing connection #0

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to