POC API service that serves to shorten URLs
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“ } |