Forum Discussion
ellisx
4 years agoNew Member
REST query URL with parameters from initial query, with secure key
How can I retrieve data from a REST API which requires key headers that depends on an initial query to first get the parameters. e.g. my first query gets a list of building IDs, I then need to lo...
- 4 years ago
answered my own question, for anyone else struggling, edit the query and add the headers in, you can view the way to do this by clicking on advanced editor on a query that has the key in, it will look like this:
Source = Json.Document(Web.Contents("https://api.buildings.co.uk/api/homes", [Headers=[key="9fw8hdfdhs9fhsd8fhusdh"]]))
ellisx
4 years agoNew Member
answered my own question, for anyone else struggling, edit the query and add the headers in, you can view the way to do this by clicking on advanced editor on a query that has the key in, it will look like this:
Source = Json.Document(Web.Contents("https://api.buildings.co.uk/api/homes", [Headers=[key="9fw8hdfdhs9fhsd8fhusdh"]]))