Discuss this help topic in SecureBlackbox Forum

Setup custom headers

TElHTTPSClient component provides properties for most common HTTP request headers. If you need to setup your own headers or modify the headers set by the component, use RequestHeaders poperty of TElHTTPSClient class.

First you need to define a handler for OnPreparedHeaders event of TElHTTPSClient class. This event is fired when the component has prepared the headers for the pending request. You can modify or add headers using RequestHeaders property in the event handler.

Discuss this help topic in SecureBlackbox Forum