[PR #1033] [MERGED] Add trailing backslash to generated cURL code for easier paste-and-execute #3019

Closed
opened 2026-03-17 00:40:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1033
Author: @ushuz
Created: 7/30/2020
Status: Merged
Merged: 7/30/2020
Merged by: @liyasthomas

Base: masterHead: patch-1


📝 Commits (3)

  • 1c9e9ca Add trailing backslash to generated cURL code
  • cf88034 Update pages/index.vue
  • 89f5528 Update pages/index.vue

📊 Changes

1 file changed (+9 additions, -14 deletions)

View changed files

📝 pages/index.vue (+9 -14)

📄 Description

And stop generating Content-Length header so it's easier to modify the generated code. Corresponding HTTP clients (like cURL) should handle Content-Type pretty well anyway.


🔄 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/1033 **Author:** [@ushuz](https://github.com/ushuz) **Created:** 7/30/2020 **Status:** ✅ Merged **Merged:** 7/30/2020 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (3) - [`1c9e9ca`](https://github.com/hoppscotch/hoppscotch/commit/1c9e9cabcddc5a25d8fd5a41d790dc8ae31f4731) Add trailing backslash to generated cURL code - [`cf88034`](https://github.com/hoppscotch/hoppscotch/commit/cf8803423000225509b77ac385ce1e6f0337f1ed) Update pages/index.vue - [`89f5528`](https://github.com/hoppscotch/hoppscotch/commit/89f552872ca8b7c1783fd67b5db78bfbb45b5c99) Update pages/index.vue ### 📊 Changes **1 file changed** (+9 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `pages/index.vue` (+9 -14) </details> ### 📄 Description And stop generating Content-Length header so it's easier to modify the generated code. Corresponding HTTP clients (like cURL) should handle Content-Type pretty well anyway. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:40:19 +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#3019
No description provided.