Last updated 8 months ago
Was this helpful?
The uniqueue id field to find original url
GET /egov-url-shortening/{id} HTTP/1.1 Host: Accept: */*
user redirected to original url
No content
url to be shortened
POST /egov-url-shortening/shortener HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 54 { "id": "text", "url": "text", "validFrom": 1, "validTill": 1 }
shortened url returned
text