Calling web services in Power Query
Another way to interact with machine learning models within Power Query is to invoke web services. As you may already know, a machine learning model can be used to carry out the scoring of many observations in batch mode using a trained model (process described previously). Another option for being able to interact with a machine learning model is to deploy it to a web service so that it can be invoked via REST APIs. You've already learned how to work with external APIs in Chapter 9, Calling External APIs to Enrich Your Data. again, info boxes don't usually have lead-ins so either display the following information as body text or remove this lead-in
Important Note
Remember that you can't consume external services via REST API calls from a Python or R visual because internet access is blocked for security reasons. Therefore, you can only consume these services in Power Query.
As an example, in this section, you'll see...