The HTTPS Activity allows you to pass standard HTTP GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD requests to external web services for the purposes of sharing and retrieving data.
BEFORE YOU BEGIN
The API you are calling must be CORS compliant and be HTTPS. Please allow "*.openmethodscloud.com".
Configuration Parameters
After opening the 'HTTPS' activity, you will get the below configuration panel:
Field | Description |
---|---|
Method | Method: selectable options are GET, POST, PATCH, DELETE, OPTIONS, and HEAD. |
URL | allows the user to input a properly formatted HTTP GET or POST request string. |
Headers | sets the headers which should be sent with each request. |
Additional Options | It contains the query parameter of the URL and the body of the POST request. |
Save Result In | sets the variable name in which to put the response |
Sample HTTPS Activity
In this example, we are trying to get the information of users from the third party URL. We will be using the 'GET' request to get the user details.
|
![]() |
|
![]() |
|
![]() |
Additional Options:
- You can set the query parameter to filter the result. To add the query parameter, you need to click on the 'ADD QUERY CONDITION'. After clicking on the button, it will create a panel with 'Property' and 'Enter Value' fields.
- You can set the query for the URL as shown below.
- While using the 'POST' request, you can use the 'ADD CONTENT' option to sets the request data to be sent with the request as shown below.
After filling all the values in the given fields, you can close and save the activity by clicking outside of the activity panel.
You will notice two child buttons under the 'HTTPS' Activity - 'SUCCESS' and 'FAIL' as shown below.
If the response is successful, then the flow will continue down the Success path. Upon failure, the flow will continue down the Failure path.