Unsupported Content-Type on POST request

Hi there, I’m integrating a service on our application that uses webhooks to signal that some payment had been processed. Our published REST service in our Mendix App (8.18) receives this request, but it doesn’t accept it because of the Content-Type header is not accepted… POST /payments/webhook HTTP/1.0 Host: webshop.example.org Via: 1.1 tinyproxy (tinyproxy/1.8.3) Content-Type: application/x-www-form-urlencoded Accept: */* Accept-Encoding: deflate, gzip Content-Length: 16 id=tr_d0b0E3EA3v Mendix replies with a Bad Request (400) error: { "error": { "code": 400, "message": "Unsupported Content-Type header." } }   We can’t change the Content-Type of course… so is there a workaround for this? It’s quite unbelievable that a simple form request is not supported with the  published REST service...
1 answers

You should set Parameter type to Form instead of Body ;)