Web Policy Agents 5.9.1

Headers and Values to Receive JSON-Formatted Responses

Specify HTTP headers and associated values that trigger JSON-formatted errors to be returned.

org.forgerock.agents.config.json.header[enableJsonResponse]=true

org.forgerock.agents.config.json.response.code=202

Performing a GET operation that matches the example triggers an HTTP result code 202 Accepted, and a JSON response containing 302 Found.

Default: Empty

Property name

org.forgerock.agents.config.json.header

Property aliases

org.forgerock.agents.config.json.header (since 4.x)

Type

String Map

Bootstrap property

No

Required property

No

Restart required

No

AM console tab

Miscellaneous (Available in the console from AM 7)

Copyright © 2010-2023 ForgeRock, all rights reserved.