There is no difference: neither of those are REST.
Calling an URL with an action in the path name (rather than a resource name) is technically not done in REST -- the action is expressed through your HTTP verb.
Using GET/POST/DELETE directly does not mean you're doing REST - there's a whole set of rules and assumptions that come with it.
Calling an URL with an action in the path name (rather than a resource name) is technically not done in REST -- the action is expressed through your HTTP verb.
Using GET/POST/DELETE directly does not mean you're doing REST - there's a whole set of rules and assumptions that come with it.