A Retrofit util class help to make server connection easy

   

 

                     

Upload image into server converting image into base64

  Convert to base64

  Upload image using encoded string  

 

 

 

   

 

  Dependency  

             

Convert an image to base64 and decode from base64

Convert image to base64

  Decode base64 to bitmap