I have created server side API with API CONNECTOR for image upload . and I have create sample page . (if you want to show demo page I can share url with you )
I have one file field
method = post
enctype = Multipart / form data
I’ve tried every way but I always get the same error. “415 Unsupported media type”… I’ve tried every way but I always get the same error. I found many documents on the internet, many of them say that there is content-type error. Can you help me solve this problem?
API documentation :
The form should contain a required named body part with the name “file”.
If you are using a HTML form, a snippet like <input type=“file” name=“file”></input>can be used for uploading the image file
Request Body: Not shown