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
Merge branch 'master' into feature/oauth-support
Liyas Thomasb0346aa34046
diff --cc pages/index.vueindex e0e42795c,39b3131f7..c2af4dd4b--- a/pages/index.vue+++ b/pages/index.vue@@@ -1872,25 -1489,15 +1872,25 @@@ export default? this.rawParams: this.rawRequestBody;requestString.push(- " -H 'Content-Length: " + requestBody.length + "' \\\n"+ " -H 'Content-Length: " + requestBody.length + "' \n");requestString.push(- " -H 'Content-Type: " + this.contentType + "; charset=utf-8' \\\n"+ " -H 'Content-Type: " + this.contentType + "; charset=utf-8' \n");- requestString.push(" -d '" + requestBody + "' \\\n");+ requestString.push(" -d '" + requestBody + "' \n");}- return requestString.join("").slice(0, -3);+ return requestString.join("").slice(0, -2);}+ },+ tokenReqDetails() {+ const details = {+ oidcDiscoveryUrl: this.oidcDiscoveryUrl,+ authUrl: this.authUrl,+ accessTokenUrl: this.accessTokenUrl,+ clientId: this.clientId,+ scope: this.scope+ };+ return JSON.stringify(details, null, 2);}},methods: {