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"
|
||||
) {
|
||||
return {
|
||||
request: {
|
||||
...curr.request,
|
||||
body: <HoppRESTReqBody>{
|
||||
contentType: "multipart/form-data",
|
||||
@@ -231,6 +232,7 @@ const dispatchers = defineDispatchers({
|
||||
)
|
||||
),
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user