[GH-ISSUE #76] Option to Copy request as Fetch or XHR Or CURL #33

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

Originally created by @edisonaugusthy on GitHub (Aug 28, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/76

Is your feature request related to a problem? Please describe.
Please Provide a way to copy the request as Fetch/XHR/CURL
this link may help https://github.com/postmanlabs/postman-code-generators

Originally created by @edisonaugusthy on GitHub (Aug 28, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/76 **Is your feature request related to a problem? Please describe.** Please Provide a way to copy the request as Fetch/XHR/CURL this link may help [https://github.com/postmanlabs/postman-code-generators](postman-code-generators)
kerem 2026-03-16 12:52:31 +03:00
Author
Owner

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

Some references for me to remember while considering this issue:

<!-- gh-comment-id:525641033 --> @liyasthomas commented on GitHub (Aug 28, 2019): Some references for me to remember while considering this issue: - NuxtJS HTTP Module https://http.nuxtjs.org - Axios https://axios.nuxtjs.org
Author
Owner

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

@liyasthomas am not requesting for HTTP request with different library #61
am expecting a feature to Copy The current request code snippet as fetch or XHR and directly use in the application
EG:
image

<!-- gh-comment-id:525713459 --> @edisonaugusthy commented on GitHub (Aug 28, 2019): @liyasthomas am not requesting for HTTP request with different library #61 am expecting a feature to Copy The current request code snippet as fetch or XHR and directly use in the application EG: ![image](https://user-images.githubusercontent.com/22213856/63853984-b2f45300-c9b9-11e9-8976-e6af683436ea.png)
Author
Owner

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

Oh I get it! Option to generate code snippets of current request on fetch/XHR/CURL. Sounds like a cool feature for devs. Will work on it.

<!-- gh-comment-id:525722766 --> @liyasthomas commented on GitHub (Aug 28, 2019): Oh I get it! Option to generate code snippets of current request on fetch/XHR/CURL. Sounds like a cool feature for devs. Will work on it.
Author
Owner

@jgroom33 commented on GitHub (Aug 30, 2019):

Possible implementation option:
Convert to curl.
Then use this: https://github.com/NickCarneiro/curlconverter

<!-- gh-comment-id:526413851 --> @jgroom33 commented on GitHub (Aug 30, 2019): Possible implementation option: Convert to curl. Then use this: https://github.com/NickCarneiro/curlconverter
Author
Owner

@JacobAnavisca commented on GitHub (Sep 3, 2019):

Created a pull for this https://github.com/liyasthomas/postwoman/pull/132 it may not be the best way to do this but I'd be glad to rework this.

<!-- gh-comment-id:527302938 --> @JacobAnavisca commented on GitHub (Sep 3, 2019): Created a pull for this https://github.com/liyasthomas/postwoman/pull/132 it may not be the best way to do this but I'd be glad to rework this.
Author
Owner

@liyasthomas commented on GitHub (Sep 4, 2019):

#132 solved this hence closing

<!-- gh-comment-id:527691205 --> @liyasthomas commented on GitHub (Sep 4, 2019): #132 solved this hence closing
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#33
No description provided.