Skip to content

anchietajunior/urlshortenerapi

Repository files navigation

URL SHORTENER API

POST /login

Authentication

Params

  • email
  • password

POST /links

Create a shortened link

** This is a authenticated route, send the header Authorization **

Params

  • original_url (required) | type: STRING
  • shortened_url (optional) | type: STRING
  • expires_at (optional) | type: INTEGER

GET /shortened_url

Redirects to the original url

Params

  • shortened_url

About

This is a simple api to create shortened links, you can integrate with a VueJS Front-end like this:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published