[PR #3922] [MERGED] fix: request failing on change content type to multipart-formdata #4593

Closed
opened 2026-03-17 02:06:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3922
Author: @anwarulislam
Created: 3/21/2024
Status: Merged
Merged: 3/22/2024
Merged by: @jamesgeorge007

Base: release/2024.3.0Head: fix/content-type-error


📝 Commits (2)

  • f2c3f96 fix: request failing on change content type to multipart-formdata
  • a92393b fix: use the correct fallback for the request body

📊 Changes

2 files changed (+4 additions, -3 deletions)

View changed files

📝 packages/hoppscotch-common/src/helpers/utils/EffectiveURL.ts (+2 -2)
📝 packages/hoppscotch-data/package.json (+2 -1)

📄 Description

Description

When choosing the content-type as application/x-www-form-urlencoded, application/multipart-formdata and sending the request, an error appears in the console. This PR fixes the issue

  • Not Completed
  • Completed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3922 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 3/21/2024 **Status:** ✅ Merged **Merged:** 3/22/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `release/2024.3.0` ← **Head:** `fix/content-type-error` --- ### 📝 Commits (2) - [`f2c3f96`](https://github.com/hoppscotch/hoppscotch/commit/f2c3f964ee778bf87b2791850dbe5635d29ac736) fix: request failing on change content type to multipart-formdata - [`a92393b`](https://github.com/hoppscotch/hoppscotch/commit/a92393b6d499028125d725df9fb654f1035640ca) fix: use the correct fallback for the request body ### 📊 Changes **2 files changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/helpers/utils/EffectiveURL.ts` (+2 -2) 📝 `packages/hoppscotch-data/package.json` (+2 -1) </details> ### 📄 Description ### Description When choosing the content-type as `application/x-www-form-urlencoded`, `application/multipart-formdata` and sending the request, an error appears in the console. This PR fixes the issue - [ ] Not Completed - [x] Completed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:06:56 +03:00
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#4593
No description provided.