orasik / graphql-to-rest

VSCode extension to convert GraphQL queries to REST queries

Home Page:https://marketplace.visualstudio.com/items?itemName=orasik.graphql-to-rest-queries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphql to Rest queries

Convert GraphQL queries to REST API POST body query so you can using it directly in Postman or other REST clients.

How to

  • New file.
  • Paste your GraphQL query.
  • CMD + Shift + P to run Command Plate.
  • Type GraphQL To Rest and click Enter.
  • Copy/Paste into your favorite REST client or cURL.

Features

This is an example of a GraphQL query from Microsoft Graph Demo converting the GraphQL query to REST body and send it via Postman

GraphQL to Rest query

Release Notes

Initial release, feedback welcomed

0.1.0

Initial release of GraphQL to Rest query

0.3.0

Updating dependencies

About

VSCode extension to convert GraphQL queries to REST queries

https://marketplace.visualstudio.com/items?itemName=orasik.graphql-to-rest-queries


Languages

Language:JavaScript 100.0%