in reply to Mojo instead of curl

You need a Mojo::UserAgent to use to retrieve things. See the USER AGENT section of the tutorial for more examples.

The cake is a lie.
The cake is a lie.
The cake is a lie.