Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/orasik/graphql-to-rest
- Owner: orasik
- Created: 2019-03-13T11:56:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T09:34:19.000Z (3 months ago)
- Last Synced: 2024-12-06T21:37:41.486Z (22 days ago)
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=orasik.graphql-to-rest-queries
- Size: 1.44 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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