0

I have parameters FirstName,LastName,Email & image ,Which need to send in the form of base64.I need appropriate code for it.

1 Answers1

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.

Convert UIImage to Base64 string in Objective-C and Swift

Community
  • 1
  • 1
meda
  • 45,103
  • 14
  • 92
  • 122