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
:sparkles: Better error messages, updated sample test API
Liyas Thomaseb69ddfef962
diff --git a/index.html b/index.htmlindex a80741dae..393b90a14 100644--- a/index.html+++ b/index.html@@ -224,7 +224,7 @@<ul><li><label for="body">response</label>- <textarea name="body" rows="6" readonly>{{response.body || '(waiting to send request)'}}</textarea>+ <textarea name="body" rows="10" readonly>{{response.body || '(waiting to send request)'}}</textarea></li></ul></div>diff --git a/script.js b/script.jsindex ef565bf34..9b7886b9f 100644--- a/script.js+++ b/script.js@@ -13,9 +13,9 @@ const app = new Vue({el: '#app',data: {method: 'GET',- url: 'https://yesno.wtf',+ url: 'https://reqres.in',auth: 'None',- path: '/api',+ path: '/api/users',httpUser: '',httpPassword: '',bearerToken: '',@@ -151,8 +151,8 @@ const app = new Vue({}}xhr.onerror = e => {- this.response.status = '0'- this.response.body = 'Error ;('+ this.response.status = xhr.status+ this.response.body = xhr.statusText}},addRequestParam() {