Skip to content

Use a 404 with status only for anything under /api/* instead of rendering a 404 page with HTML #2109

@robotdan

Description

@robotdan

Use a 404 with status only for anything under /api/* instead of rendering a 404 page with HTML

Description

When you use a URL that does not exist - currently we always go through a missing result handler which renders a 404 page (soon to be themed).

But this is awkward if you are hacking in Postman or Insomnia, and you fat finger an API URL and get HTML back. Ideally this would just a be a 404 w/out a response body.

Related

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions