Error response is 404 where 400 was expected
Created by: ramiromagno
When I run:
curl 'https://www.ebi.ac.uk/gwas/rest/api/studies/123' -i -H 'Accept: application/json'
According to the REST API documentation (Errors), I expected an error response 400 with a JSON object describing the problem but instead I get this:
HTTP/2 404
server: Apache-Coyote/1.1
cache-control: no-cache, no-store, max-age=0, must-revalidate
strict-transport-security: max-age=0
date: Sun, 07 Oct 2018 10:17:38 GMT
x-application-context: application
expires: 0
x-xss-protection: 1; mode=block
pragma: no-cache
x-content-type-options: nosniff
x-frame-options: DENY