ZAP API UI

Component: context

Action: setContextCheckingStrategy

Set the checking strategy for a context - this defines how ZAP checks that a request is authenticated
Output Format
apikey*
Form Method
contextName*The name of the context
checkingStrategy*One of EACH_RESP, EACH_REQ, EACH_REQ_RESP, POLL_URL
pollUrlThe URL for ZAP to poll, must be supplied if checkingStrategy = POLL_URL, otherwise ignored
pollDataThe POST data to supply to the pollUrl, option and only takes effect if checkingStrategy = POLL_URL
pollHeadersAny additional headers that need to be added to the poll request, separated by '\n' characters, only takes effect if checkingStrategy = POLL_URL
pollFrequencyAn integer greater than zero, must be supplied if checkingStrategy = POLL_URL, otherwise ignored
pollFrequencyUnitsOne of REQUESTS, SECONDS, must be supplied if checkingStrategy = POLL_URL, otherwise ignored