Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 464 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 464 Bytes

url-shorten-api

This URL Shortener API can be accessed by: http://pp0.xyz/api/shorten

Post the following using Postman:

{
    "longUrl": "pass_any_web_url_here"
}

You will get the following response

{
    "_id": "5ede06f2f26e8e0017fb96b6",
    "longUrl": "pass_any_web_url_here",
    "shortUrl": "get_short_url_here",
    "urlCode": "22vEPU7Zj",
    "date": "Mon Jun 08 2020 09:37:54 GMT+0000 (Coordinated Universal Time)",
    "__v": 0
}