The Azure API claims to be a REST API. I found it while for patterns and sample implementations and verbs in REST, when inspecting it in their (supposedly) REST API reference, they seem to have invented a new verb CancelJob
and altering internal state via an HTTP GET
GET
https://media.windows.net/API/CancelJob?jobid='URL-encodedvalue'
This seems to contradict best practices, shall it be implemented with a Jobs
resource and DELETE
or is it correct to do it that way too?
DELETE
/API/Jobs?jobid='URL-encodedvalue'
Or even?
DELETE
/API/Jobs/jobid