From 3f9ae7fecc9ec98a2c66dfd01f59b6859a6d3e52 Mon Sep 17 00:00:00 2001 From: Leonardo Matos Date: Sat, 21 Mar 2020 23:37:55 -0300 Subject: [PATCH] fix(raw-input): allow list parameter for any content type ending with 'json' --- pages/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/index.vue b/pages/index.vue index a594af06..30bc8b5c 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1552,7 +1552,10 @@ export default { * serialized by postwoman. */ canListParameters() { - return ["application/json", "application/x-www-form-urlencoded"].includes(this.contentType) + return ( + this.contentType === "application/x-www-form-urlencoded" || + this.contentType.endsWith("json") + ) }, uri: { get() {