diff --git a/src/aquarius/AquariusConnector.ts b/src/aquarius/AquariusConnector.ts index f3d334f..d4e0ad3 100644 --- a/src/aquarius/AquariusConnector.ts +++ b/src/aquarius/AquariusConnector.ts @@ -6,12 +6,18 @@ export default class AquariusConnector { return this.fetch(url, { method: "POST", body: payload, + headers: { + "Content-type": "application/json", + }, }) } public async get(url): Promise { return this.fetch(url, { method: "GET", + headers: { + "Content-type": "application/json", + }, }) } @@ -19,6 +25,9 @@ export default class AquariusConnector { return this.fetch(url, { method: "PUT", body: payload, + headers: { + "Content-type": "application/json", + }, }) }