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 = { export const defaultGQLSession: GQLSession = {
request: makeGQLRequest({ request: makeGQLRequest({
name: "", name: "",
url: "https://rickandmortyapi.com/graphql", url: "https://echo.hoppscotch.io/graphql",
headers: [], headers: [],
variables: `{ "id": "1" }`, variables: `{ "id": "1" }`,
query: `query GetCharacter($id: ID!) { query: `query Request {
character(id: $id) { method
id url
name headers {
key
value
} }
}`, }
`,
}), }),
schema: "", schema: "",
response: "", response: "",