diff options
-rw-r--r-- | test/utils/rpc.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/utils/rpc.ts b/test/utils/rpc.ts index e331fa6d4..436e96423 100644 --- a/test/utils/rpc.ts +++ b/test/utils/rpc.ts @@ -40,6 +40,9 @@ export class RPC { method: 'POST', uri: `http://${this.host}:${this.port}`, body: payload, + headers: { + 'content-type': 'application/json' + }, }; const bodyString = await request(opts); const body = JSON.parse(bodyString); |