Open jmcanterafonseca opened 5 years ago
this should result in an error instead of crashing ... as MIME type is application/json
and we are providing an @context in the payload
In my Ubuntu the response is like this;
HTTP/1.1 400 Bad Request
Content-Length: 191
Content-Type: application/json
Date: Tue, 09 Jul 2019 13:45:58 GMT
{
"details": "For @context in payload, the MIME type must be application/ld+json",
"title": "Invalid MIME-type for @context in payload",
"type": "http://uri.etsi.org/ngsi-ld/errors/BadRequestData"
}
Need more info.
payload