New endpoint for shortening url.