Click here to Skip to main content
15,881,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi bro,
I'm develop a small tool auto upload image to http://www.imagetwist.com/[^].
I see the site using CGI to upload file.

I try to repeat POST request but seem something wrong.
If request successfully, it's must have format like this

XML
<HTML><BODY><Form name='F1' action='http://imagetwist.com/' target='_parent' method='POST'><textarea name='fn'>1vz2rdjegtuj</textarea><textarea name='st'>OK</textarea><textarea name='op'>upload_result</textarea><textarea name='per_row'>1</textarea></Form><Script>document.location='javascript:false';document.F1.submit();</Script></BODY></HTML>


But I only received the response
XML
<HTML><BODY><Form name='F1' action='http://imagetwist.com/' target='_parent' method='POST'><textarea name='op'>upload_result</textarea></Form><Script>document.location='javascript:false';document.F1.submit();</Script></BODY></HTML>


I guess we should have some special settings for request.

Anyone can help me. Thank a lots
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900