3 ms·
Yeah, if that's where your URL ended. But what if your URLs kept going? Say you had /user/123/followers or /user/123/followers/followers or /us
by seliopou 13y ago
Yeah, if that's where your URL ended. But what if your URLs kept going? Say you had
/user/123/followers
or
/user/123/followers/followers
or
/user/123/followers/followers/following
? When your URLs have a non-obvious terminus (as is typical of proper REST APIs) it becomes clear that the verb does not belong in the URL path.