Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/orasik/graphql-to-rest

VSCode extension to convert GraphQL queries to REST queries
https://github.com/orasik/graphql-to-rest

Last synced: 9 days ago
JSON representation

VSCode extension to convert GraphQL queries to REST queries

Awesome Lists containing this project

README

        

# 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](https://github.com/microsoftgraph/graphql-demo) converting the GraphQL query to REST body and send it via Postman

![GraphQL to Rest query](images/graphql-to-rest.gif)

## Release Notes

Initial release, feedback welcomed

### 0.1.0

Initial release of GraphQL to Rest query

### 0.3.0

Updating dependencies