GraphQL Project
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GraphQL Project
Hello,
I am currently using ReadyAPI to test a graphQL API included in a Project.
The problem is i can not automatically import the GraphQL Schema directly through URL ( Using the same url, i can execute requests via postman)
Another problem I tried to create Rest Request with Post and mentionning my endpoint for GraphQL, i could not figure out how to include my querry parameter in the reques, I have always :
<message>The GraphQL request is empty.</message>
<extensions>
<code>INVALID_REQUEST</code>
Any help ?
Thank you
- Labels:
-
Configuration
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rammar
In order to include your query parameter for your POST request, you would add this under the request body in a tab called "Query variables". Here you can include the parameters of your request. I have provided a link to the ReadyAPI documentation on GraphQL request. I hope this helps with your usecase.
https://support.smartbear.com/readyapi/docs/requests/graphql.html
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
