Step 2: Create a raw request

To create a raw request:

  1. In Admin Console, go to Workflow > Workflows Console.

  2. In Workflows console, click New Flow.

  3. Click Function, and then select HTTP.

  4. Choose Raw Request from the HTTP menu.

  5. In the HTTP Raw Request card, choose the HTTP PetStore connection that you just created and enter the URL (API endpoint without the query parameters): http://petstore-demo-endpoint.execute-api.com/petstore/pets.

  6. Enter the method as GET.

  7. Copy the headers into the HTTP Raw Request card as shown below (Note: entered as an Object):

{

"Accept": "application/json",

"Content-Type": "application/json"

}

  1. Copy the query parameters into the HTTP Raw Request card as shown below (Note: entered as an Object):

{

"type": "Dog",

"page": "2"

}

  1. Name and save the Flow, and then test the card in isolation.

  2. Verify that the response headers and body are correct.

Next

Step 3: Populate values dynamically into a Raw Request card