[PR #678] [MERGED] Fix handling content type and raw input #2787

Closed
opened 2026-03-17 00:27:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/678
Author: @leomp12
Created: 3/17/2020
Status: Merged
Merged: 3/17/2020
Merged by: @liyasthomas

Base: masterHead: fix/parameter-list


📝 Commits (3)

  • 90a6315 perf(vue): 'validContentTypes' and 'knownContentTypes' can be computed
  • 1f38c25 fix(req-body): enable parameters list for form encoded only
  • 8469d13 fix(req-body): fix preseting default body (raw) by content type

📊 Changes

1 file changed (+40 additions, -24 deletions)

View changed files

📝 pages/index.vue (+40 -24)

📄 Description

Fixes https://github.com/liyasthomas/postwoman/issues/597

Scope of work:

  1. Enable raw input toggle only for application/x-www-form-urlencoded and force true in other cases;
  2. Fix default body (raw) for each content type;

🔄 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/678 **Author:** [@leomp12](https://github.com/leomp12) **Created:** 3/17/2020 **Status:** ✅ Merged **Merged:** 3/17/2020 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `fix/parameter-list` --- ### 📝 Commits (3) - [`90a6315`](https://github.com/hoppscotch/hoppscotch/commit/90a6315e2b4d25a3a61f3eb5967342b7a874c7b2) perf(vue): 'validContentTypes' and 'knownContentTypes' can be computed - [`1f38c25`](https://github.com/hoppscotch/hoppscotch/commit/1f38c25e6a70a0541ae048885de3d8363dc71620) fix(req-body): enable parameters list for form encoded only - [`8469d13`](https://github.com/hoppscotch/hoppscotch/commit/8469d13a12a733f6f88ebaa1fd75f8c579023d6d) fix(req-body): fix preseting default body (raw) by content type ### 📊 Changes **1 file changed** (+40 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `pages/index.vue` (+40 -24) </details> ### 📄 Description Fixes https://github.com/liyasthomas/postwoman/issues/597 **Scope of work**: 1. Enable _raw input_ toggle only for `application/x-www-form-urlencoded` and force true in other cases; 2. Fix default body (raw) for each content type; --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:27:50 +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#2787
No description provided.