0

I have been trying to make a REST request from within a Powershell script to a service behind a Data-Gateway (deployed on premise).
I couldn't find any information about any Powershell modules that would allow us to contact Data-Gateway services via REST.

Is there any way to consume the services behind the Data-Gateway using REST requests ? (without using the Power Bi or Power Apps API).

Any tips would be highly appreciated.

  • For REST API's you want [Invoke-RestMethod](https://learn.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod?view=powershell-7.2) . – ninMonkey Dec 01 '21 at 01:06
  • Well, how would I contact the Data-Gateway using the Invoke-RestMethod cmdlet ? When used within Power Apps the Data-Gateway is directly detected and proposed as a Data Souce. Is there anyway to contact it with a POST REST request ? (Thanks for the reply) – Jonathan P Dec 01 '21 at 01:25
  • Check out and – ninMonkey Dec 06 '21 at 18:05

0 Answers0