XFA Specification
Chapter 23, FormCalc Specification
URL Built-in Functions
895
Post()
This function posts the given data to the given URL.
Syntax
Post(s1, s2[, s3[, s4[, s5]]])
Parameters
s1
is the URL being posted.
s2
is the data being posted.
s3
is an optional string containing the name of the content type of the data being posted. Valid
content types include:
text/html
text/xml
text/plain
multipart/form-data
application/x-www-form-urlencoded
application/octet-stream
any valid MIME type
If s3 is omitted, the content type defaults to "application/octet-stream". Note that the application
is responsible for ensuring that the posted data is formatted according to the given content type.
s4
is an optional string containing the name of the code page that was used to encode the data
being posted. Valid code page names include:
UTF-8
UTF-16
ISO8859-1
Any recognized
[IANA]
character encoding
If s4 is omitted, the code page defaults to "UTF-8". Note that the application is responsible for
ensuring that the posted data is encoded according to the given code page.
s5
is an optional string containing any additional HTTP headers to be included in the post. If s5 is
omitted, no additional HTTP header is included in the post. Note that when posting to SOAP
servers, a "SOAPAction" header is usually required.
Home Index Bookmark Pages
Pages: Home Index All Pages