Forum Discussion
Sreesreekanthop
May 21, 2020Copper Contributor
Invoke-webrequest cmdlet query
Hi There,
I am trying to get connected to the API from prowershell . I am passing few header value , but i get the below response code . i tried to look various sites to look for some answers to fix the issue , But this looks to be a very old issue or something the powershell cannot handle.
Does anyone have any idea how to solve this issue in powershell.
1 Reply
- Manfred101Iron Contributor
As far as I know, HTTP status of 101 is a serverside error. How does the same request works out from for example Postman? I Use invoke-webrequest all the time (Azure RM API and Microsoft Graph) but I always make sure my request are working from Postman before using them inside powershell.