Hi All,
We're having PCCE 12.0.
Am getting error response for POST request to create an agent, error code 415 Unsupported Media Type, although have already set request.MediaType = "application/xml".
I've tried the create POST API using SOAPUI and it was successful with 201 Created code.
However, with setting below, I'm getting the 415 error:
request.Method = "POST"
request.ContentType = "application/x-www-form-urlencoded"
request.MediaType = "application/xml"
request.Accept = "text/htpm,application.xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
Any one is able to advise?
Thank You.