mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3797] [bug]: With None interceptor Could not send requests #1327
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#1327
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 @Luis97lol on GitHub (Feb 1, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3797
Originally assigned to: @anwarulislam on GitHub.
Notes from Kiran:
I tried reproducing this issue and found that Hoppscotch is able to get JSON responses but fails to get HTML responses without switching interceptors
@Leon-Luu commented on GitHub (Mar 11, 2024):
Hello @anwarulislam
What is the purpose of having None as default interceptor? Why can't Hoppscotch have Proxy as default one and remove the None?
@Luis97lol commented on GitHub (Mar 12, 2024):
Hi @Leon-Luu .
I think the advantage of None Interceptor is that the request is sent from your Web Browser. Very useful for localhost development. While in Proxy mode this is impossible.
@Leon-Luu commented on GitHub (Mar 12, 2024):
I think that None shall not be as default setting, most users won't test on localhost API.
None setting is not sending for all API, even for JSON responses. For example GET => https://postman-echo.com/get will return "Could not send request" and you need to choose either Proxy or Browser extensions to be able to send.
@Luis97lol commented on GitHub (Mar 12, 2024):
@Leon-Luu You have conviced me. I agree with you and I've also just found that Browser extensions works fine on localhost API testing.
@Leon-Luu commented on GitHub (Mar 12, 2024):
Not all users would install the Browser extension as first glance, using the default Proxy should be the default choice.