message content type application x www form urlencoded not supported

I use the Matrix option to determine the distance between points. For testing I used a code (PHP) that is shared with API-DOC. When I run the script I receive a message:
"error":message: "Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported"}, "info":engine: "version": "5.0", "build_date": "2019-02-28T09:50:25Z"}, "timestamp":1556025320293}}
What am I doing wrong?

Translated with

Use application/json;charset=UTF-8 as Content-Type header.

1 Like