[PR #4317] feat/web-proxy-support #4750

Open
opened 2026-03-17 02:15:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4317
Author: @billy-doyle
Created: 9/1/2024
Status: 🔄 Open

Base: mainHead: feat/web-proxy-support


📝 Commits (1)

📊 Changes

1 file changed (+56 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-common/src/platform/std/interceptors/proxy.ts (+56 -1)

📄 Description

Closes #3768

Tried my hand at including proxy support, equivalent curl cmd as follows: curl -X GET --proxy 'http://some-squid-proxy:3128' 'https://api.example.com/v1/endpoint'

What's changed

  • Added SQUID_ settingsStore values (can be changed but wasn't sure best name here)
  • Optional useProxy AxiosInstance
  • Not a FE guy so not sure best way to integrate with Vue

Notes to reviewers

  • Never worked with TS before but tried to get the skeleton down. Also not sure if putting in proxy.ts was the best place as proy is double meaning here
  • Was not sure if the network requests are made in a separate file and this should be included elsewhere

🔄 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/4317 **Author:** [@billy-doyle](https://github.com/billy-doyle) **Created:** 9/1/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/web-proxy-support` --- ### 📝 Commits (1) - [`a5ed1ed`](https://github.com/hoppscotch/hoppscotch/commit/a5ed1ed79581f9db90fd806da840ecd87d78024e) feat/web-proxy-support ### 📊 Changes **1 file changed** (+56 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/platform/std/interceptors/proxy.ts` (+56 -1) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes #3768 <!-- Add an introduction into what this PR tries to solve in a couple of sentences --> Tried my hand at including proxy support, equivalent curl cmd as follows: `curl -X GET --proxy 'http://some-squid-proxy:3128' 'https://api.example.com/v1/endpoint'` ### What's changed <!-- Describe point by point the different things you have changed in this PR --> - Added SQUID_ settingsStore values (can be changed but wasn't sure best name here) - Optional useProxy AxiosInstance <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> - Not a FE guy so not sure best way to integrate with Vue ### Notes to reviewers <!-- Any information you feel the reviewer should know about when reviewing your PR --> - Never worked with TS before but tried to get the skeleton down. Also not sure if putting in `proxy.ts` was the best place as proy is double meaning here - Was not sure if the network requests are made in a separate file and this should be included elsewhere --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#4750
No description provided.