This document describes how to use a Protocol block.
Index
Protocol block function and usage method
•
Protocol block is a block that defines the data transmission method (Protocol) with external API.
•
The available protocols are Https, Secure, and Soap.
•
Https Protocol
1) Protocol Blockset
•
A block used for https communication.
Function | Explanation |
method | The http(s) method to call the API. Applicable options are post, get, put, delete, patch. |
end-point | The endpoint (address) of the API to call. |
header | Header area of data to request to the server. |
body | Body area of data to request to server. |
options | Used when you need additional options for API calls |
2) Https Option Block
Function | Explanation |
timeout | Use when setting timeout on API. |
verify | If verify is required, use it in boolean form. |
allow redirect | Use in Boolean form when setting whether to redirect. |
proxy | Use to set up Proxy. |
ssl-cert | Use to apply ssl certificates. |
ssl-key | Use to apply ssl-key. |
Secure Protocol
1) Secure Protocol Blockset
Function | Explanation |
end-point | Endpoint (address) of API to call. |
header | Header area of data to request to server. |
body | Body area of data to request to server. |
verification-code | Enter the authentication code used when communicating with Secure Protocol. |
options | Used when additional options are required when calling the API. |
2) Secure Option Block
Function | Explanation |
timeout | Use if setting timeout on API. |
verify | If verify is required, use it in boolean form. |
allow redirect | Use boolean form when setting whether to redirect or not. |
Soap Protocol
1) Soap Protocol Blockset
Function | Explanation |
end-point | Wsdl URL, the endpoint of the API to call Soap Protocl. |
header | It contains information about the data to request to the server. |
soap represents header | Use to use Soap Header for authentication. |
options | Use if additional options are required for API calls. |
function-name | Enter the function name used when calling the API. |
argument | Adds the argument used when calling the API in the HashMap manner. |
2) Soap Option Block
Function | Explanation |
ssl | Use to apply ssl certificates. |
timeout | Use when setting timeout on API. |