0

I'm trying to pass an image from Android application to php server. I searched about that, I have two ways:

  • Sending by Multipart
  • Encode to Base64

I'm using Volley, I know about both but I don't know which is better for implementation. Can you tell me which is standard and better?

Nima.S-H
  • 777
  • 1
  • 9
  • 19

1 Answers1

0

Do not go with the base64 string since it may give you crash if it exceeds the limit. Better option to use the Multipart, it is reliable and safe.

Shalu T D
  • 3,921
  • 2
  • 26
  • 37