Calling the decision service using Power Query
We explained earlier that Power Query allows you to connect Excel to a wide range of data sources. We’ll focus in the next section on using it to connect to the decision service REST API. But if you are curious about what else it can do, I’d encourage you to check out the Power Query and related Power BI series from Packt: https://subscription.packtpub.com/expert-reading-lists/power-bi-for-business-intelligence-beginner-to-advanced.
Connecting Excel via Power Query takes lots of simple steps that we will cover one by one: a simple REST call, passing in parameters, and a more advanced POST call, before combining them to link Excel and our decision service.
A simple Power Query REST example
We’re going to work through the most simple Power Query call to an external API possible – the GitHub API we encountered earlier at https://api.github.com/repos/OfficeDev/office-js.
This a GET call, with no parameters...