FormPost not working - WeOnlyDo Discussion board

FormPost not working (General questions)

by ashley, Tuesday, January 24, 2012, 03:47 (4685 days ago)

Hello,

I am experiencing a problem with wod's HttpDLX.

This was working with previous version but since the update I am now experiencing a problem.

Here you can see my code

capsub.url = http://poster.decaptcher.com/
capsub.Request.FormUpload.Add function , picture2
capsub.Request.FormUpload.Add username , Text3.Text
capsub.Request.FormUpload.Add password , Text4.Text
capsub.Request.FormUpload.Add pict_to , 0
capsub.Request.FormUpload.Add pict_type , 0
capsub.Request.FormUpload.AddFile pict , App.Path & /image.jpg
capsub.Post

But when monitoring the packet this is all that is sent

POST / HTTP/1.1
Host: poster.decaptcher.com
Content-Type: multipart/form-data; boundary=---------------------------291b632e8e54
Content-Length: 4169

-----------------------------291b632e8e54
Content-Disposition: form-data; name= pict ; filename= image.jpg
Content-Type: application/octet-stream

*file content here*


As you can see none of the variable I have added are being used.

Does anyone know what would cause this?

Thanks,

Ashley

Re: FormPost not working

by woddrazen, Tuesday, January 24, 2012, 09:40 (4685 days ago) @ ashley

Hi Ashley,


Is there any chance you can send us same output from previous version of wodHttpDLX?

Also can you maybe send us version number of version of wodHttpDLX that works for you.


Regards,
Drazen

Re: FormPost not working

by Ashley, Wednesday, January 25, 2012, 02:58 (4685 days ago) @ woddrazen

Hi Ashley,


Is there any chance you can send us same output from previous version of wodHttpDLX?

Also can you maybe send us version number of version of wodHttpDLX that works for you.


Regards,
Drazen

Hi I installed 1.7.4.186 and it works fine with no code adjustments at all.

Here is the sent packet

POST / HTTP/1.1
Host: poster.decaptcher.com
Content-Type: multipart/form-data; boundary=---------------------------378f53ee4e08
Content-Length: 4675

-----------------------------378f53ee4e08
Content-Disposition: form-data; name= function

picture2
-----------------------------378f53ee4e08
Content-Disposition: form-data; name= username

ashley
-----------------------------378f53ee4e08
Content-Disposition: form-data; name= password

password
-----------------------------378f53ee4e08
Content-Disposition: form-data; name= pict_to

0
-----------------------------378f53ee4e08
Content-Disposition: form-data; name= pict_type

0
-----------------------------378f53ee4e08
Content-Disposition: form-data; name= pict ; filename= image.jpg
Content-Type: application/octet-stream

*image content
-----------------------------378f53ee4e08--

Re: FormPost not working

by wodDamir, Wednesday, January 25, 2012, 10:04 (4684 days ago) @ Ashley

Ashley,

Ok, I believe I managed to reproduce this. I've forwarded this to our developers to check it out. We'll let you know as soon as we have news on the issue.

Regards,
Damba

Re: FormPost not working

by wodDamir, Wednesday, January 25, 2012, 10:59 (4684 days ago) @ wodDamir

Ashley,

I believe this should now be fixed. Can you please request an update and try it out?

Regards,
Damba

Re: FormPost not working

by ActiveGreg, Wednesday, January 25, 2012, 22:29 (4684 days ago) @ wodDamir

I have an interest in this one as well...

gregw