mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #76] Option to Copy request as Fetch or XHR Or CURL #33
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#33
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 @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
@liyasthomas commented on GitHub (Aug 28, 2019):
Some references for me to remember while considering this issue:
@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:
@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.
@jgroom33 commented on GitHub (Aug 30, 2019):
Possible implementation option:
Convert to curl.
Then use this: https://github.com/NickCarneiro/curlconverter
@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.
@liyasthomas commented on GitHub (Sep 4, 2019):
#132 solved this hence closing