[GH-ISSUE #61] HTTP request with different library #27

Closed
opened 2026-03-16 12:49:52 +03:00 by kerem · 5 comments
Owner

Originally created by @diego81b on GitHub (Aug 25, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/61

Originally assigned to: @NBTX on GitHub.

Is your feature request related to a problem?
No

Describe the solution you'd like
Why the need to use xhr instead, for example, Axios.
One factor should be the need to use interceptors before or after request

Describe alternatives you've considered
Any

Additional context
No

Originally created by @diego81b on GitHub (Aug 25, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/61 Originally assigned to: @NBTX on GitHub. **Is your feature request related to a problem?** No **Describe the solution you'd like** Why the need to use xhr instead, for example, Axios. One factor should be the need to use interceptors before or after request **Describe alternatives you've considered** Any **Additional context** No
kerem 2026-03-16 12:49:52 +03:00
Author
Owner

@izerozlu commented on GitHub (Aug 28, 2019):

@diego81b I suppose the main reason for this decision is to keep the application as light as possible.
But in my opinion, it'd be easier to maintain the application with a proper library.

<!-- gh-comment-id:525669022 --> @izerozlu commented on GitHub (Aug 28, 2019): @diego81b I suppose the main reason for this decision is to keep the application as light as possible. But in my opinion, it'd be easier to maintain the application with a proper library.
Author
Owner

@liyasthomas commented on GitHub (Aug 28, 2019):

As I've mentioned in #76 we could possible use anyone from of these:

<!-- gh-comment-id:525669803 --> @liyasthomas commented on GitHub (Aug 28, 2019): As I've mentioned in #76 we could possible use anyone from of these: - NuxtJS HTTP Module https://http.nuxtjs.org - Axios https://axios.nuxtjs.org
Author
Owner

@NBTX commented on GitHub (Aug 28, 2019):

I vote axios.

<!-- gh-comment-id:525705646 --> @NBTX commented on GitHub (Aug 28, 2019): I vote axios.
Author
Owner

@diego81b commented on GitHub (Aug 28, 2019):

Another solution could be use Fetch Api but is not supported on IE11 ( damn IE 😄) and do not have interceptor.
On the same way intersting will be the abort Api (they works with xhr) but it is another matter 😅

<!-- gh-comment-id:525722561 --> @diego81b commented on GitHub (Aug 28, 2019): Another solution could be use Fetch Api but is not supported on IE11 ( damn IE 😄) and do not have interceptor. On the same way intersting will be the abort Api (they works with xhr) but it is another matter 😅
Author
Owner

@NBTX commented on GitHub (Aug 29, 2019):

As I'm working on building a proxy to bypass the Same-Origin policy, I'm going to address this issue, as axios interceptors will make implementing the proxy much cleaner.

<!-- gh-comment-id:526392410 --> @NBTX commented on GitHub (Aug 29, 2019): As I'm working on building a proxy to bypass the Same-Origin policy, I'm going to address this issue, as axios interceptors will make implementing the proxy much cleaner.
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#27
No description provided.