Skip to content

API returns HTML for 404s #421

@torotil

Description

@torotil

The API documentation says:

All calls return JSON, and you can generally get an HTML representation by adding .html on the end.

and

Whenever an error is returned from MapIt, it is as a dictionary with an error key …

but for example https://mapit.mysociety.org/postcode/F-54110 returns a HTML page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions