Zoomed Image

AMSX Scripting Language - Command : httpheader

Summary

Add a custom HTTP header for the next HttpGetNet or HttpSendNet call

Description

Registers a header name and value on the current HTTP context object. An optional encoding argument (blank or "Base64") controls how the value is stored. Call this before HttpGetNet or HttpSendNet to include the header in the outbound request.

Parameters

ParameterDescription
cmdHeader name
Argument 0Header data
Argument 1encoding type "" or "Base64"

Syntax


HttpHeader "Header name", "Header data", "encoding type "" or "Base64""

Return to the AMSX Command Reference