vhs / api

VHS API - the Hackspace Data Store
4 stars 1 forks source link

404 responses are actually 200 OK #10

Closed acropup closed 7 years ago

acropup commented 8 years ago

Queries that should return a 404 or similar error return a 200 OK with the body text containing the response code. They should actually be providing a 404 response and I-don't-really-care-what for a body.

Example: http://api.vanhack.ca/s/vhs/data/invalidname http://api.vanhack.ca/s/vhs/data/invalidname.json http://api.vanhack.ca/s/vhs/data/invalidname.txt

TyIsI commented 7 years ago

Handled in #13