diff --git a/components/collections/SaveRequest.vue b/components/collections/SaveRequest.vue index 1b06cca67..90daea20b 100644 --- a/components/collections/SaveRequest.vue +++ b/components/collections/SaveRequest.vue @@ -175,6 +175,13 @@ export default { name: this.$data.requestData.name, } + // Filter out all REST file inputs + if (this.mode === "rest" && requestUpdated.bodyParams) { + requestUpdated.bodyParams = requestUpdated.bodyParams.map((param) => + param?.value?.[0] instanceof File ? { ...param, value: "" } : param + ) + } + if (this.picked.pickedType === "my-request") { editRESTRequest( this.picked.folderPath,