From 2cd60883d2e3ab8547fd5f46696dfce7312bbfe5 Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 6 Nov 2024 11:53:46 +0100 Subject: [PATCH] add application/msgpack --- mock-api/rest_server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mock-api/rest_server.ts b/mock-api/rest_server.ts index 7d8e58197..9b209bba6 100644 --- a/mock-api/rest_server.ts +++ b/mock-api/rest_server.ts @@ -22,10 +22,10 @@ const router = AutoRouter({ const REST_ENDPOINT_ROOT = '/rest/'; const API_ENDPOINT_ROOT = '/api/'; -// HTTP HEADERS +// HTTP HEADERS for msgpack const headers = { 'Access-Control-Allow-Origin': '*', - 'Content-type': 'application/json' + 'Content-type': 'application/msgpack' }; // GLOBAL VARIABLES