Created
November 28, 2019 11:54
-
-
Save guglielmino/b78b75fd2fb2e258ef5e6931237fd4c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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