Escaping the challenge prompt

In a scenario where Authentication is handled another way than directly in the headers and where one would not want the Basic Authentication challenge from Xpertdoc Portal to be prompted to the user, a simple change can be done to the request headers.

Adding XT-WWW-Authenticate-Challenge to the header will not prompt the challenge.

The following is an example that creates Document in a Batch and escapes the challenge prompt.

Content-Type: application/json; charset=utf-8
Content-Length: 133
Expect: 100-continue
Connection: Keep-Alive

  "InputDocumentName":"Document Name",