hoppscotch/store/state.js

49 lines
945 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: "curl",
contentType: "application/json",
},
gql: {
url: "https://rickandmortyapi.com/graphql",
headers: [],
schema: "",
variablesJSONString: '{ "id": "1" }',
query: `query GetCharacter($id: ID!) {
character(id: $id) {
id
name
}
}`,
response: "",
schemaIntrospection: "",
},
oauth2: {
tokens: [],
tokenReqs: [],
tokenReqSelect: "",
tokenReqName: "",
accessTokenName: "",
oidcDiscoveryUrl: "",
authUrl: "",
accessTokenUrl: "",
clientId: "",
scope: "",
},
name: "Hoppscotch",
})