|
|
Subscribe / Log in / New account

Hurl 6.0.0 released

Version 6.0.0 of the Hurl command-line tool has been released. Hurl is a curl-powered utility that runs HTTP requests and tests defined in a plain-text Hurl file. Notable features in this release include the ability to generate dynamic values with functions, shorter syntax, and an option to export Hurl files to a list of curl commands. See the release notes for a full list of changes and downloads.



to post comments

Useful tool for writing API wrapper scripts

Posted Dec 6, 2024 18:29 UTC (Fri) by andrewsh (subscriber, #71043) [Link]

Hurl looks very interesting.

I like that it allows you to interact with websites using CSRF protection, something that’s PITA to work around by hand:

[Captures]
csrf_token: xpath "string(//meta[@name='_csrf_token']/@content)"

This makes it very useful for writing API wrapper scripts.


Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds