Update index.vue
This commit is contained in:
@@ -1845,7 +1845,7 @@ export default {
|
|||||||
},
|
},
|
||||||
rawRequestBody() {
|
rawRequestBody() {
|
||||||
const { bodyParams, contentType } = this
|
const { bodyParams, contentType } = this
|
||||||
if (contentType === "application/json") {
|
if (contentType.endsWith("json")) {
|
||||||
try {
|
try {
|
||||||
const obj = JSON.parse(
|
const obj = JSON.parse(
|
||||||
`{${bodyParams
|
`{${bodyParams
|
||||||
|
|||||||
Reference in New Issue
Block a user