We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi @kocsismate,
jsonapi specs define the mime type application/vnd.api+json.
application/vnd.api+json
It could be interesting to force consumer to use this mime type, I mean return an HTTP 406 if not.
HTTP 406
It let the developer use an other response formalism, for example msgpack ...
What do you think ?
Regards,
The text was updated successfully, but these errors were encountered:
Hi @waghanza,
Yes, Yin has this feature: https://github.com/woohoolabs/yin#content-negotiation.
But if you'd like to "hack" the spec, and use msgpack or any other format besides JSON, you are also equipped with necessary tools: https://github.com/woohoolabs/yin#custom-serialization
Sorry, something went wrong.
No branches or pull requests
Hi @kocsismate,
jsonapi specs define the mime type
application/vnd.api+json
.It could be interesting to force consumer to use this mime type, I mean return an
HTTP 406
if not.It let the developer use an other response formalism, for example msgpack ...
What do you think ?
Regards,
The text was updated successfully, but these errors were encountered: