You call HTTP methods for resources in order to manipulate them. The REST architectural style has a conventional meaning for each of the HTTP methods, which are also called verbs. The methods are listed below:

HTTP Method

GET

Read information from a resource.

PUT

Create a new resource or update an existing resource.

POST

(Create a new resource *), send a command.

DELETE

Delete a resource.

* There is a subtle semantic difference between PUT and POST, which is sometimes a matter of dispute. IMI API favors

  • PUT for create and update actions and uses
  • POST for logins and for sending commands to resources.