Files
hoppscotch/store/state.js
Dmitry Yankowski 57950e2637 Fixed default query
2020-02-29 11:51:38 -05:00

50 lines
897 B
JavaScript

export default () => ({
request: {
method: "GET",
uri: "",
url: "https://httpbin.org",
path: "/get",
label: "",
auth: "None",
httpUser: "",
httpPassword: "",
passwordFieldType: "password",
bearerToken: "",
headers: [],
params: [],
bodyParams: [],
rawParams: "",
rawInput: false,
requestType: "",
contentType: "",
},
gql: {
url: "https://rickandmortyapi.com/graphql",
headers: [],
schema: "",
variablesJSONString: '{ "id": "1" }',
query: `query charcter($id: ID) {
character(id: $id) {
id
name
}
}`,
response: "",
},
theme: {
collapsedSections: [],
},
oauth2: {
tokens: [],
tokenReqs: [],
tokenReqSelect: "",
tokenReqName: "",
accessTokenName: "",
oidcDiscoveryUrl: "",
authUrl: "",
accessTokenUrl: "",
clientId: "",
scope: "",
},
})