Swagger HTTP Request

Use the Swagger HTTP Request activity to send a request for a file based on a URL, HTTP headers, or Cookies data.

Usage

Complete the following properties to use this activity:

  • Browse APIs - Enter the Swagger URL to be requested in the Swagger URL field or click Browse to choose your URL.
  • HTTP Request - Specify the following information or click the Variable Reference icon to choose a variable:
    • Relative URL - Enter the relative URL for the requested resource (example: /xyz.html).
    • Method - Click the drop-down menu and choose the API method to interact with the HTTP endpoint.
    • Request Parameters - Enter the message parameters to be carried in the HTTP request in JSON format.
    • Request Body - Enter the body of the request in JSON format.
    • Headers - Specify the following information or click the Variable Reference icon to choose a variable:
      • Content Type - Click the drop-down menu and choose the content type.
      • Custom Headers - To include custom headers, click Add and enter the Header and Value.
    • Cookie - Click Add and enter any applicable information for the cookie header.
      • Behavior - Specify the following information:
        • Continue on HTTP Error Status Code - Check this check box to allow the header request to continue when the request receives an HTTP error status code.