Forum Discussion

ChSchroeck's avatar
ChSchroeck
New Member
7 years ago

Access to all response headers in Custom Connector

Hi

 

I'm connecting to an API that provides a pagination token (scroll-id) in the response header.

I need that ID to include in the next query to receive the next items.

 

The response header comes with various items.

However, when trying to read the header items it seems that the header only includes the "Content-Type" item

 

 

 

let    
    Source = Web.Contents(url, header),
    scrollid = Value.Metadata(Source)[Headers]
in
   scrollid

While in Fiddler I do see all other items as well.

 

 

I know it requires a custom connector to access all headers from other posts here, but I haven't found a solution how to actually acess all those header items.

 

Thanks for your help,

Chris

4 Replies

  • Hi,

     

    I'm wondering if you found a solution to this? I'm stuck at about the same spot, but for some reason I don't see any headers at all.

     

     

  • JoergBeck's avatar
    JoergBeck
    Regular Visitor

    Hi Guys,

    did any of you resolve the issue in the meantime?

    Best regards,
    Jörg

    • rtaylor's avatar
      rtaylor
      Helper III

      Nope. I ended up giving up on customer connectors in general. It was easier to work with Amazon Lambda's instead.

  • Hi Chris,

     

    Did you get any help regarding this issue?

    I am having exactly the same problem 😕

     

    Thanks in advance