Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return appropriate responses based on form or JSON insertion #98

Open
matze opened this issue Jan 20, 2025 · 1 comment
Open

Return appropriate responses based on form or JSON insertion #98

matze opened this issue Jan 20, 2025 · 1 comment
Labels

Comments

@matze
Copy link
Owner

matze commented Jan 20, 2025

Right now, all service errors will return an HTML page which is not that useful when POSTing JSON data. Split the routes and add appropriate handlers.

@matze
Copy link
Owner Author

matze commented Jan 20, 2025

But, it's not so easy without breaks because of the routing based on content type 🙈

@matze matze added the 3.0 label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant