iOS Question How can i send image to API converted in byte[]

mrjaw

Active Member
Licensed User
Longtime User
I've a problem for to upload or send an image to API in Spring Boot. Already i converted my image in byte[] and then encode to Base64 but the server responds me that the variable isn't found in Post method.
Here i post some pictures
 

Attachments

  • getbyte.PNG
    getbyte.PNG
    9.6 KB · Views: 207
  • jobfoto.PNG
    jobfoto.PNG
    16.3 KB · Views: 205

mrjaw

Active Member
Licensed User
Longtime User
Sorry, in the app it was good, we had a problem with the API, but the upload the image was very slow we used resize to photo and the method Postmultiparse, in the API we used taking the complety variable post
 
Upvote 0
Top