Hello @Teodor , @George I need your help,
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
windows IIS
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 :
Mandatory Fields
file
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
`POST https://DomainName/api/v1/clients/{clientId}/images
POST clients/1/images
Content-Type: multipart/form-data
Request Body: Not shown
{
“resourceId”: 1,
“changes”: {},
“resourceIdentifier”: “1”
}`
Last updated: