i have a image to post web service and i need to convert UIImage / NSData to binary string.
how i can do that?
Web service doesn’t accept form data submission.
[urlRequest addData:xdata]
doesn’t work.
Thank you & Best.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would want to make that HTTP request using POST and append to the body of the request the binary data of your photo.
To do so:
You should change
xData,xDataLenand"your/contentype"with your real data.