I’m trying to use `fetch` library to do a simple P...
# prisma-whats-new
n
I’m trying to use
fetch
library to do a simple POST to get data, is this supported? I’m receiving the following error
Copy code
The request's Content-Type is not supported. Expected:
application/json
I’m also receiving
Copy code
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<http://localhost:3000>'
Where can I add the exception?
n
could you please ask this in the forum? it's a common question: https://www.graph.cool/forum/c/development
n
I had no idea there was a forum.
n
yea we should do a better job communicating that 😄