Azure - Logic apps: adding a header to a custom connector

Jan de Mul 40 Reputation points

I'm using a custom connector to send a series of API requests. I need to add a header value to a GET function. I added as shown below but I don't think this is correct.

      summary: stat/sites
      description: stat/sites
      operationId: Stat_sites
        - name: Cookie
          in: header
          type: string
          description: default
          schema: {}

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,933 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,121 Reputation points

    @Jan de Mul Thanks for reaching out. The only way to define a cookie parameter for OpenAPI 2.0 is using parameter type header.

    Sample example:

      - name: Cookie
        in: header
        type: string
        required: true
    0 comments No comments