Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 963 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 963 Bytes

Url-Shortener-API

Requirements

  • You can POST a URL to /api/shorturl and get a JSON response with original_url and short_url properties. Here's an example: { original_url : 'https://freeCodeCamp.org', short_url : 1}
  • When you visit /api/shorturl/, you will be redirected to the original URL.

API Response

Save Url

image

image

H2 DB

image

Get Url

image

image