From ed4f1fe6f86381c984154da24dc23556156fa387 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Sun, 22 Mar 2020 09:56:53 +0530 Subject: [PATCH] Update index.vue --- pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.vue b/pages/index.vue index fda9b937a..068d18495 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1845,7 +1845,7 @@ export default { }, rawRequestBody() { const { bodyParams, contentType } = this - if (contentType === "application/json") { + if (contentType.endsWith("json")) { try { const obj = JSON.parse( `{${bodyParams