Click here to Skip to main content
14,695,085 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Created a graphql request in "insomnia tool", but as soon as i give url "http://localhost:3000/graphql" for POST request,

got the below error:

"Got status 400 fetching schema from "http://localhost:3000/graphql"".

i have used the example created by sam samselikoff. Below is the github link for complete code:

I am very new to mirageJS/graphql, so apologies if i missed any basic thing.

What I have tried:

tried with postman, but still get the same error. i searched about this issue, but didn't get much help.
Richard MacCutchan 4-Oct-20 11:36am
Ask the person who provided the code.
sanfrnds 4-Oct-20 12:43pm
already raised the issue on response yet..... he is the creator of miragejs so i guess he is a busy guy
Richard MacCutchan 4-Oct-20 12:52pm
Have you checked your webserver to see why it returns the 400?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900