Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
feat: set hoppscotch graphql echo server as default
liyasthomasb811e97ea59b
diff --git a/packages/hoppscotch-app/newstore/GQLSession.ts b/packages/hoppscotch-app/newstore/GQLSession.tsindex 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: "",