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

Header issues #303

Open
Truemedia opened this issue Oct 19, 2018 · 1 comment
Open

Header issues #303

Truemedia opened this issue Oct 19, 2018 · 1 comment

Comments

@Truemedia
Copy link

Hi,
I'm having issues with sending the headers in the expected format.

When I attempt to set Content-Type or Accept I get errors (emitting the headers works fine)

Setting either I get:
{ "name": "UnsupportedError", "message": "The serializer for \"application/vnd.api+json\" does not exist." }

@gr0uch
Copy link
Member

gr0uch commented Oct 23, 2018

This should be in the other repo: https://github.com/fortunejs/fortune-http

Have you looked at the tests? It is possible that the error message is correct and that you haven't added require('fortune-json-api') to the list of serializers.

Sorry for late reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants