Returns the content from a specified URL. This function only works with HTTP on port 80 and HTTPS on port 443. Non-standard port assignments cause this function to fail. Marketing Cloud honors any character set returned in the HTTP headers via Content-Type. For example, you can use a UTF-8 encoded HTML file with Content-Type: text/html; charset=utf-8 included in the header. If the encoding is not specified in the header, the application assumes all returned data will be in the character set WindowsCodePage 1252. You can change this default by contacting your Marketing Cloud account representative.

In a send, if the URL is the same for many subscribers, the call is made once per unique URL. The responses are held in cache and used for each subscriber.

HTTPGet(1, 2, 3, 4)

1stringRequiredURL from which to return content
2booleanDefines whether the process continues on error. Defaults to false. A value of true ignores errors in process.
3intDefines whether the function allows empty content. A value of 0 allows for empty content. A value of 1 returns an error. A value of 2 skips the subscriber.
4stringOutput of function status. This function defaults to 0. A value of 0 indicates status is OK. A value of -1 indicates a missing URL. A value of -2 indicates an HTTP request error. A value of -3 indicates empty content; the function completed successfully but did not return any content.

System returns the content of

System returns the content of The function stops if it encounters an error, and it allows empty content. The status of the function is returned to the declared variable @CallStatus.