AMPscript HTTP Functions

Use the AMPscript HTTP functions to retrieve and transform web data.

This section contains information about these AMPscript functions.

Function NameDescription
HttpGet()Returns the content from a specified URL.
HttpPost()Sends data to a URL using the POST method.
HttpPost2()Sends data to a URL using the POST method with additional error handling.
IsChtmlBrowser()Returns a value that indicates if a device’s user agent is a CHTML browser.
RedirectTo()Creates a link using data from an attribute, data extension field, or variable.
RequestHeader()Retrieves the header from an HTTP request for a landing page.
UrlEncode()Modifies a string to only include characters that are safe to use in URLs.
WrapLongURL()Returns a shortened URL when provided with a long URL.