diff --git a/src/handlers/fix-request-body.ts b/src/handlers/fix-request-body.ts index c8c2aa1e..5da1f9c5 100644 --- a/src/handlers/fix-request-body.ts +++ b/src/handlers/fix-request-body.ts @@ -23,7 +23,7 @@ export function fixRequestBody( proxyReq.write(bodyData); }; - if (contentType && contentType.includes('application/json')) { + if (contentType && (contentType.includes('application/json') || contentType.endsWith('+json'))) { writeBody(JSON.stringify(requestBody)); }