iRobo.Activity.Rest API Request
Enables you to perform HTTP requests to a specified rest API service.
Input
- Body - Enter name and path. Once you select the file from the activity button, its added here. (Mandatory)
- InputURL - The URL to which you want to make the request .(Mandatory)
- Parameter – segment to be added to the URL header
- Request Method - The request method to be used when calling the API. The following HTTP verbs are supported: GET, POST, PUT, DELETE By default, the GET method is selected. (Mandatory)
Misc
- DisplayName - Activity header name.
Output
- Result - create an object variable to return the result of the API response.
- StatusCode - create a string variable to return the status of the API response.
Steps of Using Rest API Request Activity
- Open iRobo Studio, and then open a new Workflow.
- Drag Rest API Request Activity to the Sequence.
- Enter the URL in the inputURL input field
- Choose the desired RequestMethod
- Create an object Variable in the Result field in Properties, then click Ctrl+K to instantly create it in the Variable Table.
- Create a String Variable in the Status field in Properties, then click Ctrl+K to instantly create it in the Variable Table.
- Drag MessageBox Activity to the Sequence, and add Result field value in Properties Panel.
- Click the Save button from iRobo Studio Menu to save Workflow.
- Click the Play button to start the automated process.
Created with the Personal Edition of HelpNDoc: Free Qt Help documentation generator