Welcome Guest, Not a member yet? Register   Sign In
Disallowed Key Characters and Multi-part
#1

[eluser]Rob Bonner[/eluser]
Hello,

I am getting "Disallowed Key Characters" on a multi-part form upload from objective C.

Here is the post that is being sent:

Header:
multipart/form-data; boundary=---------------------------14737809831466499882746641449


Body:

-----------------------------14737809831466499882746641449
Content-Disposition: form-data; name="session_id"
bba6309cd5d93240775b08a12eba3692c35bc4daeb6372fa2f4b745746c0894b
-----------------------------14737809831466499882746641449
Content-Disposition: form-data; name="image1"; filename="ipodfile.jpg"
Content-Type: application/octet-stream

Image here

I have been reading many of the posts here that indicate this might be a cookie issue, but from code, not thinking that a cookie is present.

Thanks in advance, and let me know if more information is needed.

-Rob
#2

[eluser]pistolPete[/eluser]
Which URL do you send the request to?
#3

[eluser]Rob Bonner[/eluser]
NSString *urlString = @"http://swipeapi.cronksoftware.com/api/photo_upload";
#4

[eluser]Rob Bonner[/eluser]
Any bumps on this one? Hopefully not stumped!!




Theme © iAndrew 2016 - Forum software by © MyBB