Fortinet black logo

REST API background

REST API background

A RESTful API uses standard HTTP methods (Get, Post, Delete) to provide interactions between a client and a server. The API is stateless - each request is independent.

The following operations are supported by a RESTful API:

  1. Fetch data by sending a GET request
  2. Add data by sending a POST request
  3. Update data by sending a POST request
  4. Delete data by sending a DELETE request

GET and DELETE are idempotent. The operation will produce the same result no matter how many times it is repeated.

REST API background

A RESTful API uses standard HTTP methods (Get, Post, Delete) to provide interactions between a client and a server. The API is stateless - each request is independent.

The following operations are supported by a RESTful API:

  1. Fetch data by sending a GET request
  2. Add data by sending a POST request
  3. Update data by sending a POST request
  4. Delete data by sending a DELETE request

GET and DELETE are idempotent. The operation will produce the same result no matter how many times it is repeated.