[GH-ISSUE #1691] Error when saving requests with multipart/form-data content type #533

Closed
opened 2026-03-16 15:52:37 +03:00 by kerem · 2 comments
Owner

Originally created by @sawa-ko on GitHub (May 31, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1691

Describe the bug
When creating a multipart/form-data content type request it works correctly, but saving the request and selecting again this saved request changes the content type to application/json, it is very annoying to be changing the content type all the time.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Create a request'
  2. Click on 'Change content type to multipart/form-data'
  3. Click on 'Save request'
  4. Go to the 'Collections and click on the saved request'
  5. See error

Expected behavior
Correctly display the request with the content type you assign before saving the request.

Screenshots
wmtraJ0k6p

Desktop:

  • OS: Windows 10
  • Browser Microsoft Edge
  • Version 91.0.864.37
Originally created by @sawa-ko on GitHub (May 31, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1691 **Describe the bug** When creating a `multipart/form-data` content type request it works correctly, but saving the request and selecting again this saved request changes the content type to `application/json`, it is very annoying to be changing the content type all the time. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Create a request' 2. Click on 'Change content type to `multipart/form-data`' 3. Click on 'Save request' 4. Go to the 'Collections and click on the saved request' 4. See error **Expected behavior** Correctly display the request with the content type you assign before saving the request. **Screenshots** ![wmtraJ0k6p](https://user-images.githubusercontent.com/56084970/120213655-adf8af00-c1f0-11eb-92d2-d638d25b2e3a.gif) **Desktop:** - OS: Windows 10 - Browser Microsoft Edge - Version 91.0.864.37
kerem 2026-03-16 15:52:37 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@liyasthomas commented on GitHub (May 31, 2021):

Sorry you faced such behavior. We'll look into this and get back to you as soon as possible.
Thank you for your patience.

<!-- gh-comment-id:851557135 --> @liyasthomas commented on GitHub (May 31, 2021): Sorry you faced such behavior. We'll look into this and get back to you as soon as possible. Thank you for your patience.
Author
Owner

@nelsontky commented on GitHub (Jun 5, 2021):

I was the guy who did the multipart/form-data feature. Maybe I could look into it!

<!-- gh-comment-id:855172999 --> @nelsontky commented on GitHub (Jun 5, 2021): I was the guy who did the `multipart/form-data` feature. Maybe I could look into it!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#533
No description provided.