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

Pretty-print an org.http4s.Request as a curl command #3095

Closed
MasseGuillaume opened this issue Jan 21, 2020 · 6 comments
Closed

Pretty-print an org.http4s.Request as a curl command #3095

MasseGuillaume opened this issue Jan 21, 2020 · 6 comments
Assignees
Labels
enhancement good first issue

Comments

@MasseGuillaume
Copy link
Contributor

@MasseGuillaume MasseGuillaume commented Jan 21, 2020

A neat feature in the chrome inspector network tab is to export a request as a curl command:

out

I would be useful to have something like this for org.http4s.Request.

request.asCurl: String

@rossabaker rossabaker added enhancement good first issue labels Jan 21, 2020
@erewl
Copy link
Contributor

@erewl erewl commented Jan 24, 2020

Hey, thats a cool first issue.
I am working on it :-)

@rossabaker
Copy link
Member

@rossabaker rossabaker commented Jan 24, 2020

Wonderful! Let us know if you need any help.

@honzatrtik
Copy link

@honzatrtik honzatrtik commented Apr 9, 2020

Hi! Is there any progress @MasseGuillaume ? If not, I'd like to help.. We'd love to have this feature too...

@0xshreyash
Copy link

@0xshreyash 0xshreyash commented Apr 10, 2020

@honzatrtik looks like @erewl already made a PR for this. @rossabaker could this issue be closed then?

@MasseGuillaume
Copy link
Contributor Author

@MasseGuillaume MasseGuillaume commented Apr 10, 2020

@rossabaker
Copy link
Member

@rossabaker rossabaker commented Apr 13, 2020

Note that we don't do the body. There were questions about how to proceed on that in #3113, and we went for the partial win. If anyone still wants the body, let's open another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue
Projects
None yet
Development

No branches or pull requests

5 participants