RapidAPI/feedback

[Bug]: Uploading file does not work

Opened this issue · 0 comments

What happened?

I used the client to send a post request which uploads a png image file using the multipart option. The data was sent successfully but the image sent was unusable when retrieved and stored in the server. The odd part is that when i use Postman, i used the form-data option whereas this is not available in RapidAPI.

Steps to reproduce?

Screenshot of Request

Screenshot_1

Screenshot of Request Data

Screenshot_2

Screenshot of Image retreival

Screenshot_3

Screenshot of Postman Request

Screenshot_4

VS Code version

Version: 1.82.2

Extension version

1.10.2

Relevant log output

["INFO" - 2023-09-24T21:17:59.584Z - v1.10.2] 
  Running on VS Code: 1.82.2 - Node.js: v18.15.0
["INFO" - 2023-09-24T21:17:59.594Z - v1.10.2] 
  Current theme in use: Monokai Dark Soda
["INFO" - 2023-09-24T21:27:11.697Z - v1.10.2] 
  [update-project-title]: "CI4-Shield-API (local)"
["INFO" - 2023-09-24T21:27:12.571Z - v1.10.2] 
  [update-project-title]: "CI4-Shield-API (local)"
["INFO" - 2023-09-24T21:27:12.595Z - v1.10.2] 
  [push-settings]: {"signedIn":false}
["INFO" - 2023-09-24T21:27:15.402Z - v1.10.2] 
  [update-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T21:27:32.850Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T21:27:58.956Z - v1.10.2] 
  [sign-in-hide]: no data provided
["INFO" - 2023-09-24T21:29:47.073Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T21:30:24.979Z - v1.10.2] 
  [dismiss-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T21:31:59.948Z - v1.10.2] 
  [update-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T21:32:40.426Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T21:32:45.778Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T21:32:49.170Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T21:35:49.779Z - v1.10.2] 
  [dismiss-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T21:35:51.493Z - v1.10.2] 
  [update-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T21:37:07.510Z - v1.10.2] 
  [dismiss-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T21:37:40.034Z - v1.10.2] 
  [update-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T21:37:47.506Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T21:37:53.709Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T21:37:57.348Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T21:41:19.586Z - v1.10.2] 
  [dismiss-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T22:00:26.473Z - v1.10.2] 
  [update-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}
["INFO" - 2023-09-24T22:01:04.417Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T22:01:06.690Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T22:01:09.893Z - v1.10.2] 
  [request-updates]: no data provided
["INFO" - 2023-09-24T22:01:51.894Z - v1.10.2] 
  [dismiss-request-selection]: {"ref":"f8c4da2e-6cef-4d4c-ae42-661914b4d7a6"}