I have parameters FirstName,LastName,Email & image ,Which need to send in the form of base64.I need appropriate code for it.
Asked
Active
Viewed 1,117 times
1 Answers
0
Base64 is used to convert binary data into text.
In your situation only Image needs to be encoded in that format, the rest should be text.
-
I have base 64 string but I need how to post parameters along with image strings – Rakhyas 3embed Mar 09 '16 at 18:18
-
@RakeshBiswal its just a string you post it like any other post param – meda Mar 09 '16 at 18:21
-
@RakeshBiswal you using objective c or swift – meda Mar 09 '16 at 18:26
-
look at my answer here http://stackoverflow.com/questions/25335168/synchronous-https-post-request-ios/25335314#25335314 – meda Mar 09 '16 at 18:27
-
Follow my answer in the link above – meda Mar 09 '16 at 18:31