ForgeRock SDKs

Commonly used headers for CORS

The following content applies to the ForgeRock JavaScript SDK.
Header Information

authorization

Specifies credentials for HTTP authentication.

x-requested-with

Identifies the source of REST requests.

For example, JavaScript frameworks might set this to XMLHttpRequest.

accept-api-version

Requests a specific AM endpoint version.

content-type

Sets the media type.

For example, Content-Type: application/json.

Copyright © 2010-2022 ForgeRock, all rights reserved.