Files
hoppscotch/store/state.js
Hari Narayanan 57627367f5 duplicate identifier for requests fixed (#1346)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-11-27 17:12:33 +05:30

52 lines
968 B
JavaScript

export default () => ({
request: {
name: "Untitled request",
method: "GET",
uri: "",
url: "https://httpbin.org",
path: "/get",
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 GetCharacter($id: ID!) {
character(id: $id) {
id
name
}
}`,
response: "",
schemaIntrospection: "",
},
theme: {
collapsedSections: [],
},
oauth2: {
tokens: [],
tokenReqs: [],
tokenReqSelect: "",
tokenReqName: "",
accessTokenName: "",
oidcDiscoveryUrl: "",
authUrl: "",
accessTokenUrl: "",
clientId: "",
scope: "",
},
name: "Hoppscotch",
})