Forum Discussion

chris__1's avatar
chris__1
Icon for Advocate II rankAdvocate II
3 years ago
Solved

Web API: Headers in Web-Activity vs. Headers in Copy data-Activity

Hello,   I want to query an API with Data Pipelines. The API expects to first generate a Token and then use the Token as Authorization to make the desired query. First part works fine - I get a v...
  • GraceGu's avatar
    3 years ago

    Seems you are putting bearer token in additionalHeaders of Http connector , try additionalHeaders value in a whole string like  @concat('Authorization: Bearer ',@variables('v_token'))

     

    If you are using REST connector, payload is like below, where you can add fields.