JSON-antwoorden hebben content type text/plain
in plaats van application/json
. Dit zorgt ervoor dat deserializatie-tools niet werken.
Voorbeeld:
$ curl -I 'http://geodata.nationaalgeoregister.nl/locatieserver/suggest?q=hofstraat%20110'
HTTP/1.1 200 OK
Date: Tue, 27 Dec 2016 20:21:48 GMT
Content-Type: text/plain;charset=utf-8
X-Cnection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
Access-Control-Max-Age: 1000
Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
X-Cnection: close