2 ms·
>One point of doing REST instead of RPC is because you shouldn't re-invent the wheel. HTTP already has verbs and identifiers, so why create another set of verbs
by coldtea 12y ago
>One point of doing REST instead of RPC is because you shouldn't re-invent the wheel. HTTP already has verbs and identifiers, so why create another set of verbs (the RPC methods)?
Because HTTP's verbs weren't created with arbitrary operations in mind, but for specific, HTTP-related tasks.