REST gateway: REST operations

You use HTTP POST, GET, and DELETE operations to insert or update, get, and remove data from the data grid.

REST operations

Table 1. Operations with equivalent HTTP methods and response code definitions
Operation HTTP Method Response Code
Insert or update POST
  • 200 CREATED: The data was successfully inserted or updated into the data grid.
  • 400 BAD REQUEST: The data insert or update operation did not complete successfully.
Get GET
  • 200 OK: The response body and content-type are retrieved from a previous insert or update operation.
  • 404 NOT FOUND: The specified key is not present in the data grid.
  • 400 BAD REQUEST: The appliance was unable to process the request.
Delete DELETE
  • 200 NO CONTENT: The entry was deleted from the data grid.
  • 400 BAD REQUEST: The appliance was unable to process the request.