Shortify URL

Estimated reading: 1 minute 5 views

Use Case

Create a shorter url.

Request

curl --location 'https://api.wattyo.com/url' 
--header 'x-api-key: tPETFPjY5vab5yonvAllf56UDiGcCROr1YenXit7' 
--header 'Content-Type: application/json' 
--data '{"URL":"https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/security_review_overview.htm"}
'

Success Response

 {"URL":"uu003d5LFJQ9","key":"5LFJQ9"}

Error Response

This is a sample error response not related to the request above.

    {"message": "Invalid request body"}

Leave a Comment

       
Euphoria, forever till the end of times

Euphoria

Share this Doc

Shortify URL

Or copy link

CONTENTS