WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Dec 22, 2020. It is now read-only.

coryflucas/urlshortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple URL Shortner Service

This app exposes a simple API to create short URLs for longer ones and routes the requests to their specified destination.

API

The API exposes a single endpoint to create a new short URL.

Request

POST /api/shorturl HTTP/1.1
{
    "url": "https://www.corylucas.com"
}

Response

{
    "shortUrl": "http://localhost:5000/dXATd3"
}

Following the link will result in a 302 to the original URL.

About

A simple URL shortner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published