8.7.2. Adding Data
8.7.2.1. Adding Data Using the REST Interface
In JBoss Data Grid's REST Interface, use the following methods to add data to the cache:
- HTTP
PUT
method - HTTP
POST
method
When the
PUT
and POST
methods are used, the body of the request contains this data, which includes any information added by the user.
Both the
PUT
and POST
methods require a Content-Type header.