Show TOC

Function documentationHTTP Post Locate this document in the navigation structure

 

You can use this action to do the following:

  • Post a document to a URL and process results

  • Read information from an RSS feed

  • Call a Web service where a valid WSDL definition does not exist, such as in some legacy cases.

    The ContentType value must match the posted document content.

Features

The properties for this action are listed in the following table:

Property

Data Type

Access

Description

URL

String

In and out

The URL to which the document is sent.

PostData

String

In and out

The document to be posted. You load the document or retrieve it from another location, link it to the property through the Link Editor screen, and then post it.

Encoding

String

In and out

The default value is UTF-8.

UserName

String

In and out

If credentials are required to access the URL, this value is used.

UserPassword

String

In and out

The password for the user name.

ContentType

String

In and out

Dependent on the document and what the receiving URL expects. The default is application/x-www-form-urlencoded.

ReturnAsString

String

In and out

Results of the post are stored as a string in this property. The return on any error is written to it.

ReturnAsXML

XML

In and out

If you expect XML returned from the post, use this property to access the document.

CredentialAlias

String

In

The selected credential alias will use the defined alias from the server to authenticate to the target URL.

UseDestinationService

Boolean

In

Forces post calls to use the destination service. This configures the action for basic authentication and HTTPS. However the destination service may have problems connecting to servers through proxy.

KeystoreName

String

In

Used for X.509 authentication. The property must match the keystore name as configured on the target server.

CertificateName

String

In

Used for X.509 authentication. The property must match the certificate name as configured on the target server.

Success

Boolean

Out

Indicates whether the action succeeded or failed. If it failed, errors are displayed in the server trace log.