To create a shorturl of any URL, Send a GET request to https://fcc-shorten-urls.herokuapp.com/?url=. You'll receive a JSON in response with the shorturl in it.

Github