mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #325] Enable running proxy as a backend for Request Capture #119
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @guilt on GitHub (Nov 22, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/325
Often, while writing new clients, or debugging existing API's, it is often useful to use a tool such as Charles Proxy. It allows one to save traces (request + response) and reload them again for reviewing as well.
Would be useful if Postwoman came up with a way to act as such a proxy, and one could connect existing apps / browsers on them, and look through the requests / responses. Would also be helpful to generate user signed certificates if one wishes to debug through TLS encrypted requests as well.
Ask:
Alternatives:
N/A
Additional Context:
N/A
@liyasthomas commented on GitHub (Nov 22, 2019):
Hi there!
Postwoman have proxy support! It allows you to request responses from restricted endpoints, hide your IP, avoid CORS issues and other functionalities.
Proxy mode is global so it'll be also enabled for GraphQL testing too.
To turn on Proxy; Settings > Proxy
@guilt commented on GitHub (Nov 23, 2019):
Okay, maybe I wasn't talking about using a proxy, but being one, so that other apps could connect to Postwoman, and we can see the requests on it, and capture them for future use
@liyasthomas commented on GitHub (Nov 23, 2019):
Oh! my mistake while interpreting that. Let's discuss over it.
Do you have any use cases or existing projects that does this?
@guilt commented on GitHub (Nov 23, 2019):
Yes. I routinely use app packet captures to identify request patterns, time between requests and would like to save some of them for later.
It's way easier than me trying to type out all the parameters, is to fill it from an existing source.
@guilt commented on GitHub (Nov 26, 2019):
I was looking around for libraries so I could explain this, a starting point may be to look at: https://github.com/alibaba/anyproxy and see if possible to integrate their code / libraries(?)
More importantly, the point of proxying may not be to allow TCP connect / tunnel, but more about per-request capturing and debugging. So HTTP CONNECT method isn't what the solution will do.
@NBTX commented on GitHub (Nov 28, 2019):
What if we added the functionality to the proxy server to act as a packet capture and then pass this to the postwoman interface?
So a workflow would be:
@guilt commented on GitHub (Dec 5, 2019):
That's a very useful start :) Would love to see this in action.
@liyasthomas commented on GitHub (Dec 25, 2019):
@NBTX think this issue fits better in proxy repo.
@NBTX commented on GitHub (Dec 26, 2019):
For sure. (You'll need to transfer the issue.)
@liyasthomas commented on GitHub (Dec 27, 2019):
Issues can only be transferred in between repos under same profile. Can't transfer to an organization.
@Congee commented on GitHub (Jan 14, 2020):
This feature is helpful when you reverse-engineer an api. I currently use Fiddler, mitm-proxy, or Charles.
@liyasthomas commented on GitHub (Jan 15, 2020):
Transferred this issue to https://github.com/postwoman-io/postwoman-proxy/issues/10