• Purchasing a license grants permission to use the software and to get Tech Support. A license purchase doesn't grant customization support.

How to use FILES["source"] value with API


New Member
Can can I use FILES["source"] value in the POST request to upload images from the hard drive (local images) using the API?
No matter how I try to modify the source value, I still get "Invalid base64 string." error message in response.


The Chevere Guru
Chevereto Staff
Yes, you can do it. But you have to send the request as a multipart/form-data. Since you aren't sending the request as multipart, the system assumes that the source is a string (base64). You either forge the form or you POST a base64 image.


New Member
Still can't figure it out.
Here is what I've built in Paw:


And still getting:

Everything works fine if I use an URL with an image, it's just lacal files that are not working.