Hi @wojtekmach, I only wanted to say thank you.
I just enjoyed the variety of options for retries (Req.Steps — req v0.5.10) to deal with an API that sometimes refuses to accept a newly created access token with “status: 401, message: Invalid or expired” although it accepts it a few milliseconds later.
With Req it was super easy to implement a solution that doesn’t enforce a delay after token creation by default.
Edit:
Thanks to a custom :retry it was very easy to re-implement the default and additionally retry on status 401.
Thanks to a custom :retry_delay the impact on test duration was minimal.






















