Page 1 of 1

shortening links

Posted: 11 Jan 2020 20:39
by tsolignani
Good evening everyone.

I wonder if anyone ever realized a flow to shorten links.

That's what I would like to do but I no not even know which service to use.

Thank you.

Re: shortening links

Posted: 11 Jan 2020 22:06
by Horschte
Use action HTTP Request and put this into the URL field:

Code: Select all

https://u.nu/api.php?action=shorturl&format=simple&url={long_url}
Replace {long_url} with the url you want to shorten.

Activate Custom HTTP Headers and put this into the field:

Code: Select all

accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
After execution the default variable response should contain your short url.

Re: shortening links

Posted: 13 Jan 2020 15:21
by tsolignani
It does work, thank you!

And I didn't even know the nu service.

Thanks again.

Re: shortening links

Posted: 13 Jan 2020 22:29
by Horschte
I didn't know the service either. :lol: I just searched for a service which doesn't require an api key or a login.