Re:Don't just shorten your URL, make it suspicious and frigh...
by mewpmewp2 on Wednesday June 16, 2021 @05:13AM
(#27526484)
For REST APIs standard would be /resources?query=something&offset=50&limit=50 etc for list of resources. And single resource.
/resources/:resourceId, so a bit different for APIs as opposed to user facing urls.
While for a single resource when user facing it would be /resource/human-readable-resource-slug.
While for a single resource when user facing it would be /resource/human-readable-resource-slug.