0

i'm try to upload the image to webservice along with "uniqueIdentifier","to phonenumber","from phonenumber","key"

this is the my url

http://api.appname.com/index.php/api/bookmark/?uniqueIdentifier=74r587f87das48wq78rtqwer87r8weq&to=15128569514&from=15127052402&image=&key=506df2058254de29f73a64a084766e50

i got response as upload fail.....

Can you please give me the solution

Sri
  • 454
  • 6
  • 22
  • You could do this by converting the image data to a base 64 string and send that as the parameter. On the webservice you can then convert the base64 string to byte code. – andershqst Apr 18 '11 at 08:27

1 Answers1

0

You should use ASHTTPRequest and ASIFormDataRequest. Refer this Link1 and Link2.

Thanks!

Community
  • 1
  • 1
Pugalmuni
  • 9,350
  • 8
  • 56
  • 97