Product SiteDocumentation Site

1.6. Methods

The benefit of using HTTP to communicate with the REST API is the ability to use a method to access Red Hat Enterprise Virtualization resources. A method defines the type of request to a resource. The REST API uses four HTTP methods:
Method Decription
GET Retrieve a resource or collection representation
POST Create a resource based upon a user-defined representation
PUT Update a resource based upon a user-defined representation
DELETE Remove a resource
The default method is GET but an API user has a choice of any of the four methods to access and control resources in their virtualization environment.