Zoomed Image

AMSX Scripting Language - Command : httpgetnet

Summary

Send an HTTP GET request using the .NET HTTP stack with full credential and header support

Description

Issues an HTTP GET to the URL specified by cmd using the HTTPGetNet helper. Supports content type, optional POST body, username/password/domain credentials, and an allow-all-status-codes flag to suppress 4xx errors.

Parameters

ParameterDescription
cmdURL
Argument 0Content Type
Argument 1Data to send (leave blank in normal use)
Argument 2User name
Argument 3Password
Argument 4Domain Name
Argument 5Not used
Argument 6Allow all status codes including 400. When this is set, a 400 will still set the response and will not raise an error. When this is not set, a 400 will raise an error

Syntax


HttpGetNet "URL", "Content Type", "Data to send (leave blank in normal use)", "User name", "Password", "Domain Name", "Not used", "Allow all status codes including 400. When this is set, a 400 will still set the response and will not raise an error. When this is not set, a 400 will raise an error"

Return to the AMSX Command Reference