Problems with DELETE REST API

by on ‎11-01-2013 08:09 AM

Question

I am still facing issue invoking DELETE REST API using “sdn” user account. It seems this user account does not have rights for that.

Answer

Just a background on RSDoc… It is intended to be an API documentation tool (hence, the “Doc” suffix) to allow API users/developers to read about the API and “try it out” to see how a response may look.  We enable all the HTTP methods to create/update/read a given resource.  This may help in being able to consume the response data, however, little value can be obtained by deleting things – you mainly just get back a response code (200 or some other error codes). These error codes are documented in Javadocs.

 

For testing REST APIs, I would suggest using other tools meant for testing, such as RESTClient from Firefox add-on, or plain-old curl.

 

Search
Showing results for 
Search instead for 
Do you mean 
Contributors
HP Blog

HP Networking

Featured


Follow Us
Twitter Stream
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.