#Guzzle Client error: `POST https://` resulted in a `415 Unsupported Media Type` response:
1 messages · Page 1 of 1 (latest)
so what is the needed headers ?
Are you able to run the same API in postman it yes , then you can compare the headers there
I send the same API in postman without headers and its success
Also in local its success response without headers
Error 415 Unsupported Media Type related to SSL block or something ?
No it's not
Postman adds some auto generated headers in the request
Do check for them
I think form-encoded header might be sent in the request t
Changing the Content-Type header to application/x-www-form-urlencoded likely resolved the issue because it aligns the request format with what the server expects to receive.