I would like to ask about the recommended way to use a Dataverse Custom API that is implemented with a C# plug-in from a Power Apps code app. Microsoft documents that Custom APIs can be created in Dataverse and implemented with plug-ins for server-side business logic.
In my case, the Custom API is used to execute a query against Dataverse and return the result to the app. I would like to understand the correct approach for calling this Custom API from the app, passing input parameters, and reading the returned response.