fortune icon indicating copy to clipboard operation
fortune copied to clipboard

Header issues

Open Truemedia opened this issue 5 years ago • 1 comments

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." }

Truemedia avatar Oct 19 '18 13:10 Truemedia

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!

gr0uch avatar Oct 23 '18 20:10 gr0uch