Skip to content

Convert hurl script to curl command #2615

Closed Answered by jcamiel
GlassGruber asked this question in Q&A
Discussion options

You must be logged in to vote

😆if it's in the docs, it's well buried!

You can go from curl to Hurl with hurlfmt. To go the other way, you can run your Hurl file with --verbose option and grep the output to see each request's curl equivalent command. Dynamic values (variables/captures) are resolved so you should be able to replay your Hurl file.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@GlassGruber
Comment options

@jcamiel
Comment options

Answer selected by GlassGruber
Comment options

You must be logged in to vote
2 replies
@jcamiel
Comment options

@GlassGruber
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants