Reference Guide

REST request components
Topics:
HTTP request headers
URI patterns
Request parameters
REST requests
HTTP request headers
The following table describes the HTTP request headers used by the PowerStore Management REST API. The API uses these
headers in standard ways.
HTTP header Value Description
Accept: application/json
Format of the body content desired in
the response. All requests use Accept:
application/json, which is the
default and only value accepted.
Content-Type: application/json
Body content type of the request. This is
optional because it is the default and
only supported value.
Accept-Language: en-US
Requested locale will be mapped to an
available language. Only en-US is
supported.
DELL-EMC-TOKEN:
Valid CSRF token value from
authenticated GET request
Before issuing any REST call which
changes the state of the object (such as
POST, PATCH or DELETE) send a GET
request to receive a CSRF token as
response header named DELL-EMC-
TOKEN. Use the value of token from the
response header obtained from the GET
call as a Header value in the subsequent
calls for this session.
Range:
<first>-<last>
For GET calls only. Part of paging
support. Requests rows first through last
(optional) of the result set.
Related references
URI patterns on page 9
Request parameters on page 10
REST requests on page 12
2
8 REST request components