Salesforce

REST Client (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

REST Client (Magic xpi 4.13)

REST Client component enables the user to consume HTTP based RESTful API.

The REST Client component offers the following:

· The ability to define Paths for e.g. product, customer, category, product/ID, products/region/ model etc.

· Support for Get, Post, Put, Patch, Head and Delete operations

· The ability to manage Query Parameters, Header Parameters, Form Parameters

· The ability to select desired encoding

· The ability to specify or define Content Type like application/json, application/xml, multipart/form-data etc.

· The ability to send/receive attachments along with data (support for Content Type multipart/form-data)

· The ability to define security schemes (HTTP-Basic, HTTP-Digest and OAuth2 authentication)

· The ability to invoke RESTful APIs configured over HTTPS/SSL

To use the REST Client component with a proxy server, modify the following entry in the [MAGIC_ENV] section of the Magic.ini file:

  • HTTPProxyAddress = <ProxyAddress>:<Port>
    For example: 10.9.3.16:8080

The proxy server address should be set only if you are using a proxy server.

To update Timeout for the REST Client component, modify the value of the following entry in the [MAGIC_ENV] section of the Magic.ini file. The default value for the Timeout is 0. Here, the default value 0 is treated as 120 seconds.

  • HTTPTimeout = <Timeout>
    For example:
    5000

(Since version: 4.9)

Related Topics

Reference
Attachment 
Attachment