refactor: headers system to respect data model

This commit is contained in:
Andrew Bastin
2021-12-31 15:28:47 +05:30
parent 50e30ee4ea
commit ca131697b6
2 changed files with 139 additions and 79 deletions

View File

@@ -28,7 +28,7 @@ export const defaultRESTRequest: HoppRESTRequest = {
endpoint: "https://echo.hoppscotch.io",
name: "Untitled request",
params: [{ key: "", value: "", active: true }],
headers: [{ key: "", value: "", active: true }],
headers: [],
method: "GET",
auth: {
authType: "none",