Changed shortener endpoint to /api/v1/links
This commit is contained in:
@@ -32,5 +32,5 @@ service fivefeeteleven-api {
|
||||
get /:id(ExpandReq) returns(ExpandResp)
|
||||
|
||||
@handler ShortenUrl
|
||||
post /redirect(ShortenReq) returns(ShortenResp)
|
||||
post /api/v1/links(ShortenReq) returns(ShortenResp)
|
||||
}
|
||||
Reference in New Issue
Block a user