[PR #1485] [MERGED] Support multipart/form-data content-type #3349

Closed
opened 2026-03-17 00:58:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1485
Author: @liyasthomas
Created: 2/15/2021
Status: Merged
Merged: 2/19/2021
Merged by: @liyasthomas

Base: mainHead: feat/formData


📝 Commits (10+)

  • 77d44ce Initial UI refactor - move raw and key-value body to components and tabs
  • 4b894f0 Delete package-lock.json
  • 222859b deps
  • 8026083 Add multipart/form-data as a content type
  • 24de204 fix: add default contentType value
  • c687357 Allow http body param request body with multipart/form-data
  • 7e80b10 Add form data to vuex
  • 2830c69 move raw body components to 'Raw Request Body' tab
  • 395a6b2 Add files addition logic
  • 3e51a5d Set Dockerfile to run nuxt in dev mode

📊 Changes

9 files changed (+271 additions, -140 deletions)

View changed files

📝 Dockerfile (+1 -1)
📝 components/http/http-body-parameters.vue (+68 -0)
components/http/http-raw-body.vue (+114 -0)
components/ui/deletable-chip.vue (+32 -0)
📝 helpers/utils/contenttypes.js (+2 -1)
📝 pages/index.vue (+30 -136)
📝 plugins/vuex-persist.js (+3 -1)
📝 store/mutations.js (+12 -0)
📝 store/postwoman.js (+9 -1)

📄 Description

  • Separate Raw Body and key-value pair request body components
  • Support multipart/form-data content-type

Deploy preview: https://deploy-preview-1485--hoppscotch.netlify.app


Request

screely-1613579147922

Response

screely-1613579203051


🔄 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/1485 **Author:** [@liyasthomas](https://github.com/liyasthomas) **Created:** 2/15/2021 **Status:** ✅ Merged **Merged:** 2/19/2021 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `main` ← **Head:** `feat/formData` --- ### 📝 Commits (10+) - [`77d44ce`](https://github.com/hoppscotch/hoppscotch/commit/77d44ce18de4878822a7affe3b89c096bfb38431) Initial UI refactor - move raw and key-value body to components and tabs - [`4b894f0`](https://github.com/hoppscotch/hoppscotch/commit/4b894f05d42351bc2c1898558900b57a7f2f0da0) Delete package-lock.json - [`222859b`](https://github.com/hoppscotch/hoppscotch/commit/222859b3b96606633edc72007d0d2ead55b2a321) deps - [`8026083`](https://github.com/hoppscotch/hoppscotch/commit/8026083c122bf5499215a7c2e8fa108ef1c308a1) Add multipart/form-data as a content type - [`24de204`](https://github.com/hoppscotch/hoppscotch/commit/24de2049b280d8e4e80d5c5a6e7667008f4e312b) fix: add default contentType value - [`c687357`](https://github.com/hoppscotch/hoppscotch/commit/c6873575b71470ef1405d04f6b64fa7fa157bbe4) Allow http body param request body with multipart/form-data - [`7e80b10`](https://github.com/hoppscotch/hoppscotch/commit/7e80b102333868a6a9a946620b9068f181832496) Add form data to vuex - [`2830c69`](https://github.com/hoppscotch/hoppscotch/commit/2830c69246c2c0c7deec605e32ca1294cf104c42) move raw body components to 'Raw Request Body' tab - [`395a6b2`](https://github.com/hoppscotch/hoppscotch/commit/395a6b25ded374c6a94a5aed83ab7d1c5bdf5439) Add files addition logic - [`3e51a5d`](https://github.com/hoppscotch/hoppscotch/commit/3e51a5d66e50e9db2207b1c2c666e2cf8acb9337) Set Dockerfile to run nuxt in dev mode ### 📊 Changes **9 files changed** (+271 additions, -140 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+1 -1) 📝 `components/http/http-body-parameters.vue` (+68 -0) ➕ `components/http/http-raw-body.vue` (+114 -0) ➕ `components/ui/deletable-chip.vue` (+32 -0) 📝 `helpers/utils/contenttypes.js` (+2 -1) 📝 `pages/index.vue` (+30 -136) 📝 `plugins/vuex-persist.js` (+3 -1) 📝 `store/mutations.js` (+12 -0) 📝 `store/postwoman.js` (+9 -1) </details> ### 📄 Description - [x] Separate `Raw Body` and `key-value` pair request body components - [x] Support `multipart/form-data` content-type **Deploy preview:** https://deploy-preview-1485--hoppscotch.netlify.app --- **Request** ![screely-1613579147922](https://user-images.githubusercontent.com/10395817/108234566-ec4eee80-716a-11eb-9378-d4c0808dd4bd.png) **Response** ![screely-1613579203051](https://user-images.githubusercontent.com/10395817/108234679-0ab4ea00-716b-11eb-8a16-4fc14e207624.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:58:15 +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#3349
No description provided.