Zoomed Image

AMSX Scripting Language - Command : httpsendnetxml

Summary

POST the current AMSX XML buffer to an HTTP endpoint

Description

Sends the current AMSX XML document (mdoc.OuterXml) as the request body to the specified URL. Supports content type, credentials, HTTP method override, allow-all-status-codes flag, and forced character encoding. Use HttpSendNet with $result$ if you need to send an arbitrary string payload instead.

Parameters

ParameterDescription
cmdURL
Argument 0Content Type
Argument 1not used
Argument 2User name
Argument 3Password
Argument 4Domain Name
Argument 5"POST", "PUT" or other HTTP method. default is "POST"
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
Argument 7Force Encoding (e.g. "1252" or "utf-8")

Syntax


HttpSendNetXML "URL", "Content Type", "not used", "User name", "Password", "Domain Name", ""POST", "PUT" or other HTTP method. default is "POST"", "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", "Force Encoding (e.g. "1252" or "utf-8")"

Return to the AMSX Command Reference