From b811e97ea59bdef3d33dc6cb2d84e3ba14136979 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sun, 17 Oct 2021 00:49:36 +0530 Subject: [PATCH] feat: set hoppscotch graphql echo server as default --- packages/hoppscotch-app/newstore/GQLSession.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/hoppscotch-app/newstore/GQLSession.ts b/packages/hoppscotch-app/newstore/GQLSession.ts index 855b8d67b..85babca1e 100644 --- a/packages/hoppscotch-app/newstore/GQLSession.ts +++ b/packages/hoppscotch-app/newstore/GQLSession.ts @@ -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: "",