W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2010

Posting multipart/form-data

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 09 Apr 2010 17:33:29 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2fx34fh06.fsf@nwalsh.com>
Is it possible to write an http-request step which will perform
this post:

POST /services/upload/ HTTP/1.1
Content-Type: multipart/form-data; boundary=---------------------------7d44e178b0434
Host: api.flickr.com
Content-Length: 35261

-----------------------------7d44e178b0434
Content-Disposition: form-data; name="api_key"

3632623532453245
-----------------------------7d44e178b0434
Content-Disposition: form-data; name="auth_token"

436436545
-----------------------------7d44e178b0434
Content-Disposition: form-data; name="api_sig"

43732850932746573245
-----------------------------7d44e178b0434
Content-Disposition: form-data; name="photo"; filename="C:\test.jpg"
Content-Type: image/jpeg

{RAW JFIF DATA}
-----------------------------7d44e178b0434--

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Every new beginning comes from some
http://nwalsh.com/            | other beginning's end.

Received on Friday, 9 April 2010 21:34:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 9 April 2010 21:34:06 GMT