You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
What steps will reproduce the problem?
1. trying to send my multi-part data into a socket to the api
What is the expected output? What do you see instead?
a working upload :)
i'm sendint that in a socket to imageshack api:
POST /upload_api.php HTTP/1.1
Host: www.imageshack.us
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:0.8) Gecko/20100101 Firefox/8.0
Accept: application/xml
Connection: close
Content-Type:
multipart/form-data;charset=ISO-8859-1;boundary=98fa3d2d83ab917526207bd1d4d9b95c
Content-Length: 127777
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="key"
Content-Type: text/html
[HERE MY KEY (i mask)]
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="fileupload"; filename="darksiders_2.jpg"
Content-Type: image/jpeg
[My file datas (binary)]
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="optsize"
Content-Type: text/html
resample
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="a_username"
Content-Type: text/html
[email protected]
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="a_password"
Content-Type: text/html
hacker
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="uploadtype"
Content-Type: text/html
0
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="public"
Content-Type: text/html
yes
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="url"
Content-Type: text/html
http://ImageShack.us/slideshow/index.php?url=http://static.flickr.com/39/8428323
0_4730c2ab58_b.jpg&title=snowman&action=transload
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="rembar"
Content-Type: text/html
1
--98fa3d2d83ab917526207bd1d4d9b95c
Content-Disposition: form-data; name="xml"
Content-Type: text/html
yes
--98fa3d2d83ab917526207bd1d4d9b95c--
but unfortunatly i get that:
HTTP/1.1 200 OK
Server: nginx/1.0.4
Date: Fri, 09 Mar 2012 17:26:24 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: close
X-Powered-By: PHP/5.2.9
8c
<links>
<error id="auth_error">You must provide a valid auth token or dev key. see
http://code.google.com/p/imageshackapi/</error>
</links>
0
and thats all, i checked, my key is the good (i just copy and past (no spaces
before and after)
(ps: what should i put in the "url" parameter, i mean, an existing url or
something else ?)
thanks for reading this^^
Original issue reported on code.google.com by hisoka2501 on 9 Mar 2012 at 5:36
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
hisoka2501
on 9 Mar 2012 at 5:36The text was updated successfully, but these errors were encountered: