Salesforce

HTTP - Methods (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

HTTP – Methods

The following methods are used to configure the HTTP component:

Note:

  • Using the GET, POST, and REST methods to issue an HTTP request with data containing special characters (such as %, &, <, and >) causes translation of the data to legal HTTP codes. To prevent this from happening, and to allow the HTTP request body to be sent "as is", include 'content-type:text/html' in the HTTP header of the request.

  • The body of the HTTP request cannot be Unicode.

The following table lists the methods and parameters that can be used. Parameters in bold are mandatory.

Name

Parameters

Description

GET method executes the HTTP Get command. It is used primarily for retrieving data and returns it in a BLOB.

Start Text

Enter a comma delimited keyword path to the required text in the URL.

End Text

Enter a comma delimited keyword path to the ending text in the URL.

Header Information

Enter the header keyword that is necessary when parsing the returned HTML.

Header Set

Enter text or an expression to be added to the HTTP Header.

Output BLOB

The User BLOB contains the output information returned by the HTML Get operation.

Output Header

Click to open the Variables List and select a variable to return the output header.

Error Code

This parameter is returned, with the corresponding error code, when an error occurs.

POST method executes the HTTP Post command. It can be used for various operations, such as updating or storing data on a Web site.

Start Text

Enter a comma delimited keyword path to the required text in the URL.

End Text

Enter a comma delimited keyword path to the ending text in the URL.

Header Information

Enter the header keyword that is necessary when parsing the returned HTML.

Header Set

Enter the header added when using the Send Data operation with an HTTP Post operation.

Data BLOB

The Data BLOB contains the input information required by the HTTP Post operation.

Output BLOB

The Output BLOB contains the output information returned by the HTTP Post operation.

Output Header

Click to open the Variables List and select a variable to return the output header.

Error Code

This parameter is returned, with the corresponding error code, when an error occurs.

REST method executes an HTTP request and returns the results.

HTTP Verb

This string indicates which method will be used.

Select one of the following from the drop-down list:

  • GET (default)

  • POST

  • PUT

  • HEAD

  • DELETE

See also: How Do I Get the HTTP Request's HTTP Verb?

URL Dynamic Addition

This string represents an HTTP address. Its value is appended to the end of the resource URL.

Header Information

Enter the header keyword that is necessary when parsing the response's HTTP header. This value will be available in the output header.

Header Set

Enter the user header that will be added to the HTTP header.

Data BLOB

The Data BLOB contains the input information required by the HTTP Call.

Output BLOB

The Output BLOB contains the output information returned by the HTTP Call.

Output Header

Click to open the Variables List and select a variable that will hold the output header.

Error Code

This parameter is returned, with the corresponding error code, when an error occurs.

Related Topics

How to Use Direct Access Methods

Reference
Attachment 
Attachment