Skip to content

Instantly share code, notes, and snippets.

@guglielmino
Created November 28, 2019 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guglielmino/b78b75fd2fb2e258ef5e6931237fd4c8 to your computer and use it in GitHub Desktop.
Save guglielmino/b78b75fd2fb2e258ef5e6931237fd4c8 to your computer and use it in GitHub Desktop.
from:
http:
verb: GET
url: http://www.somewhere.org
path: /api/user/:id
spec: '{
"id": "@data.user.id",
"username": "@data.user.username"
}'
to:
graphql:
url: http://www.somewhere.org
path: /graphql
query: 'user($userId) {
id
username
firstName
lastName
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment