HTTPPost
Posts content to the 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 Engagement 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 header does not specify the encoding, the application assumes all returned data will use the character set WindowsCodePage 1252. The timeout value for this function is 30 seconds.
HTTPPost(1, 2, 3, 4, 5, 6)
Ordinal | Type | Description | |
---|---|---|---|
1 | string | Required | URL receiving posted content |
2 | string | Required | Specified content-type header value |
3 | string | Required | Content to post to URL |
4 | array | Required | Array of header names included in POST request |
5 | array | Required | Array of header values included in POST request |
6 | array | Required | Array containing HTTP code of response to function and any additional response header names and values |