Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to Copy request as Fetch or XHR Or CURL #76

Closed
edisonaugusthy opened this issue Aug 28, 2019 · 6 comments
Closed

Option to Copy request as Fetch or XHR Or CURL #76

edisonaugusthy opened this issue Aug 28, 2019 · 6 comments
Labels
core Changes regarding core concepts feature New feature or request future Scheduled to near future help wanted Extra attention is needed

Comments

@edisonaugusthy
Copy link
Contributor

edisonaugusthy commented Aug 28, 2019

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 liyasthomas added core Changes regarding core concepts feature New feature or request future Scheduled to near future good first issue Good for newcomers labels Aug 28, 2019
@liyasthomas
Copy link
Member

Some references for me to remember while considering this issue:

@liyasthomas liyasthomas added help wanted Extra attention is needed and removed good first issue Good for newcomers labels Aug 28, 2019
@edisonaugusthy
Copy link
Contributor Author

@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

@liyasthomas liyasthomas removed the core Changes regarding core concepts label Aug 28, 2019
@liyasthomas
Copy link
Member

liyasthomas commented 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.

@liyasthomas liyasthomas added the core Changes regarding core concepts label Aug 28, 2019
@liyasthomas liyasthomas pinned this issue Aug 28, 2019
@jgroom33
Copy link
Contributor

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

@JacobAnavisca
Copy link
Contributor

Created a pull for this #132 it may not be the best way to do this but I'd be glad to rework this.

@liyasthomas
Copy link
Member

#132 solved this hence closing

@liyasthomas liyasthomas mentioned this issue Sep 6, 2019
@liyasthomas liyasthomas unpinned this issue Sep 6, 2019
AndrewBastin pushed a commit that referenced this issue Apr 11, 2023
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Changes regarding core concepts feature New feature or request future Scheduled to near future help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants