diff --git a/frontend/src/models/apiTest/common.ts b/frontend/src/models/apiTest/common.ts index 34a5a79e2b..08d905dda7 100644 --- a/frontend/src/models/apiTest/common.ts +++ b/frontend/src/models/apiTest/common.ts @@ -468,7 +468,7 @@ export interface CurlParseResult { method: RequestMethods | string; url: string; headers: Record; - body: Record; + body: Record | string; bodyType: RequestBodyFormat; queryParams: Record; } diff --git a/frontend/src/views/api-test/components/requestComposition/index.vue b/frontend/src/views/api-test/components/requestComposition/index.vue index 79bcbd313c..2c70765785 100644 --- a/frontend/src/views/api-test/components/requestComposition/index.vue +++ b/frontend/src/views/api-test/components/requestComposition/index.vue @@ -80,7 +80,7 @@ @input="() => (isUrlError = false)" @change="handleUrlChange" > -