fortune
fortune copied to clipboard
Header issues
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." }
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!