Zoomed Image

AMSX Scripting Language - Command : httpsendnetresult

Summary

POST the current result buffer as the body of an HTTP request

Description

Sends the current result buffer as the request body to the specified URL using HttpSendNet. Supports content type, credentials, method override, allow-all-status-codes, and forced encoding. Unlike HttpSendNet with $result$, this variant always sends msResult regardless of argument 1.

Parameters

ParameterDescription
cmdignored
Argument 0content type
Argument 1not used
Argument 2username
Argument 3password
Argument 4domain
Argument 5method (GET, POST, PUT, etc)
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


HttpSendNetResult "ignored", "content type", "not used", "username", "password", "domain", "method (GET, POST, PUT, etc)", "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