Table of Contents

AddRequestHeader Procedure

Codeunit Web Wrapper

Sets a request header that will be set on the WebRequest before HTTP call.

Overloads

Name Description
AddRequestHeader(Text; SecretText) Sets a request header that will be set on the WebRequest before HTTP call.
AddRequestHeader(Text; Text) Sets a request header that will be set on the WebRequest before HTTP call.

AddRequestHeader(Text; SecretText) Procedure

Sets a request header that will be set on the WebRequest before HTTP call.

Signature

AddRequestHeader(HeaderName: Text; HeaderValue: SecretText)

Parameters

HeaderName Text

The header's name.

HeaderValue SecretText

The value for this header, as SecretText.

AddRequestHeader(Text; Text) Procedure

Sets a request header that will be set on the WebRequest before HTTP call.

Signature

[NonDebuggable]
AddRequestHeader(HeaderName: Text; HeaderValue: Text)

Parameters

HeaderName Text

The header's name.

HeaderValue Text

The value for this header.

This documentation is generated from Smart Toolbox v27.1