Skip to content

REST API using Nodejs, Expressjs, and MongoDB 😍. This URL Shortener API can be accessed by:

Notifications You must be signed in to change notification settings

the-coder-dude/url-shorten-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

About

REST API using Nodejs, Expressjs, and MongoDB 😍. This URL Shortener API can be accessed by:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published