REST API not so RESTful

REST API not so RESTful

Hi,

I was very disappointed in using the REST API because it breaks the RESTful paradigm in many ways. The methods are specified as part of URLs, whereas methods should be HTTP methods POST, PUT, GET, DELETE and such. URLs should be composed of verbs like "monitor" or "alarm" rather than function names like "AddMonitor". Result values should be HTTP return codes. On error the HTTP call should return 4xx or 5xx, not HTTP 200 (OK) and a response message containing the error.
IMO creating a monitor should resemble POSTing the required data to a URL like http://appmanager.some.domain/monitor or something. I find the current API confusing and difficult to use.

Is there any chance that the REST API is going to be made RESTful?

Cheers,

Erwin











                New to ADSelfService Plus?