fix: urlencoded not switching to formdata
This commit is contained in:
@@ -219,6 +219,7 @@ const dispatchers = defineDispatchers({
|
|||||||
curr.request.body.contentType === "application/x-www-form-urlencoded"
|
curr.request.body.contentType === "application/x-www-form-urlencoded"
|
||||||
) {
|
) {
|
||||||
return {
|
return {
|
||||||
|
request: {
|
||||||
...curr.request,
|
...curr.request,
|
||||||
body: <HoppRESTReqBody>{
|
body: <HoppRESTReqBody>{
|
||||||
contentType: "multipart/form-data",
|
contentType: "multipart/form-data",
|
||||||
@@ -231,6 +232,7 @@ const dispatchers = defineDispatchers({
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user