I have to send an image in a POST request, along with other information, but I keep getting the “unsupported _media_type” error. Could anyone tell me what I’m doing wrong?.
Here I attach the image
Here is where I introduce the needed data
Here is where I set the Content-Type
And this is the response
"success": false,
"code": "unsupported_media_type",
"message": " The Content-Type of the request is unsupported",
"status": 400
}