Forum Discussion
Anonymous
4 years agoNot applicable
Custom connector returns empty header
Dear community, I'm currently trying to get a custom connector working due to an API returning information in the header of a response that is required to fetch all the data. Initially, the f...
Anonymous
3 years agoNot applicable
Hi Anonymous , I think you need to way that you have included you key in the Web.Contents function. Try this instead.
let
AuthKey = "x-api-key = ####",
Source = Web.Contents(url,
[
Headers =
[
Authorisation= AuthKey,
#"Content-Type"="application/json"
],
RelativePath = path,
Content = Text.....
Anonymous
3 years agoNot applicable
Dear Daryl,
Thank you for the reply, but I'm afraid that's not it. As I mentioned below here, initially the connector worked ( returning me all the expected headers ). And actually, it is working again after I removed a method that I put before the original contents method. Another funny thing I noticed, when examining the raw data coming in, the headers are THERE...there're just not shown and/or recognized ....
kind regards,
Vincent