question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
honzatrtikcommented, Apr 9, 2020

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

1reaction
erewlcommented, Jan 24, 2020

Hey, thats a cool first issue. I am working on it 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pretty print curl -i – Rob Allen's DevNotes
Solution 2: A simple script to pipe the output through. Another way to do it is via a script that knows where the...
Read more >
org.http4s.Request
A Request encapsulates the entirety of the incoming HTTP request including the status line, headers, and a possible request body. Source: Message.scala.
Read more >
Pretty print curl raw requests from saved files - Stack Overflow
I have a set of requests and responses saved in files as raw petitions. The files are like this: --MIME_Boundary Content-ID: ...
Read more >
Chapter 10: RESTful web services - Camel in Action
The REST service allows developers full control of what happens as they can ... Ztrxc nj qjcr rephact, ped'ff ernal aotbu org Rest...
Read more >
http4s-curl - Scaladex
... request and response bodies with backpressure; Full access to http4s client middleware, DSL, and auth APIs. libraryDependencies ++= Seq( "org.http4s" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found