Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell PowerStore REST API Developers Guide

PDF

HTTP request headers

The following table describes the HTTP request headers that the PowerStore REST API uses. The API uses these headers in standard ways.

Table 1. HTTP request headersList of HTTP request headers and their values and descriptions.
HTTP header Value Description
Accept: application/json Format of the body content wanted in the response. All requests use Accept: application/json, which is the default and only value accepted.
Content-Type: application/json The body content type of the request. This header is optional because it is the default and only supported value.
Accept-Language: en-US Requested locale is 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 that is 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. This header requests rows first through last (optional) of the result set.
X-DELL-MFA-TYPE: SECURID When multifactor authentication (MFA) is supported, this is the input field for the second factor method that is used to authenticate. For PowerStoreOS 3.5, only SECURID is supported.
X-DELL-MFA-FACTOR-TOKEN: passCodeValue When MFA is supported, this is the input field for the second factor token that is used to authenticate. This header is useful for a client that can supply both a password and a second factor with no intermediate steps. X-DELL-MFA-TYPE is required when this header is passed.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\