Data Activities: HTTPS

Data Activities: HTTPS

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.

Warning

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.


- Select the 'HTTPS' activity from 'Activity Sidebar'.
- Click on 'HTTPS' activity to open and configure the 'HTTPS' activity.
- Click on the 'Method' option to open the list of requests, then select one request type from the list.
















After selecting the request type, enter the URL from which we will be fetching the data, then select the 'With Credentials' if the URL is with the Authorization key.









  1. You can set the headers which will be sent with each request.
  2. You can add multiple headers by clicking on the 'Headers' button.
  3. After clicking on the button, it will create a panel to set the header details as shown below.

Additional Options

  1. You can set the query parameter to filter the result. To add the query parameter, you need to click on the 'ADD QUERY CONDITION'.
  2. After clicking on the button, it will create a panel with 'Property' and 'Enter Value' fields.
  3. 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.



    Still can’t find an answer?
      • Related Articles

      • Data Activities: Server-Side HTTPS/Webhook

        AppConnector Overview & Quick Start Build, reuse, and secure connections to multiple API sources! The App Connector and Server Activity are PopFlow features that secure API connections within the OpenMethods Experience Cloud on the server side. ...
      • Pass data between PopFlows & Activities

        Between the Curly Brackets is where we'll live in this module! We'll connect the data produced from other activities and steps in your workflow together! Data exports are the "glue" that ties workflow actions & activities together. In this module, we ...
      • Data Activities: Delete Data

        This information is only applicable for Oracle integrations. Overview The 'Delete Data' Activity allows you to delete the data from the selected entity. It has two path 'SUCCESS' and 'FAIL'. You can execute different activities on these buttons. ...
      • Data Activities: Get Data

        This information is only applicable for Oracle integrations. Overview The 'Get Data' Activity allows you to get the data from the selected entity. You can add multiple filters to filter the data. It has three child buttons: SINGLE MATCH MULTI MATCH ...
      • Data Activities: Post Data

        This information is only applicable for Oracle integrations. The 'Post Data' activity allows you to insert important data into the entity table. After opening the 'Post Data' activity, you will get the below configuration panel. Default Configuration ...