feat: set hoppscotch graphql echo server as default

This commit is contained in:
liyasthomas
2021-10-17 00:49:36 +05:30
parent 6d167ce1d6
commit b811e97ea5

View File

@@ -16,15 +16,18 @@ type GQLSession = {
export const defaultGQLSession: GQLSession = {
request: makeGQLRequest({
name: "",
url: "https://rickandmortyapi.com/graphql",
url: "https://echo.hoppscotch.io/graphql",
headers: [],
variables: `{ "id": "1" }`,
query: `query GetCharacter($id: ID!) {
character(id: $id) {
id
name
query: `query Request {
method
url
headers {
key
value
}
}`,
}
`,
}),
schema: "",
response: "",