Hacker News new | past | comments | ask | show | jobs | submit login

You can get a worse version of this functionality out of IntelliJ's http client[0]. Hurl seems better for several reasons, although I wish there was an example showing a few more useful tricks:

1 - When the content of a JSON variable is an XML string, or a JSON string, detect this and format white space for readability.

2 - Support pulling either the entire request or just the body from a file, and looping over all files in a directory.

3 - Pull data out of a response, put it in an environment used by later lines in the script.

0 - https://www.jetbrains.com/help/idea/http-client-in-product-c...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: