Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1000 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 1000 Bytes

url-shortener-service

POC API service that serves to shorten URLs

Project arhitecture: Project Arhitecture

API endpoints:

HTTP method POST
URI /shorten
Request Body Example:{ url: “http://stackoverflow.com/questions/1567929/website-safe-data-accessarchitecture-question?rq=1“ }
Reponse Type application/json
Response Example: { shortUrl: “http://yourservice.com/xYzw3b“ }
HTTP method GET
URI /{hash}
Reponse Type application/json
Response Example:{ url: “http://stackoverflow.com/questions/1567929/website-safe-data-accessarchitecture-question?rq=1“ }

Swagger Test UI: swaggerTestUI