Add URL alias to URI parameters on Invoke-WebRequest & Invoke-RestMethod
See original GitHub issueSummary of the new feature / enhancement
Add Alias to the URI
parameter on Invoke-WebRequest & Invoke-RestMethod
Proposed technical implementation details (optional)
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:26 (6 by maintainers)
Top Results From Across the Web
Add URL alias to URI parameters on Invoke-WebRequest ...
Use saved searches to filter your results more quickly · Add URL alias to URI parameters on Invoke-WebRequest & Invoke-RestMethod #4275 · Summary ......
Read more >Invoke-WebRequest - PowerShell
The Invoke-WebRequest cmdlet sends HTTP and HTTPS requests to a web page or web service. ... $LoginParameters = @{ Uri = 'https://www.contoso.com/login/' ...
Read more >Invoke-RestMethod with URL parameters in URI
Invoke-RestMethod with URL parameters in URI. I have the following. $PASSAURLHERE = 'https://somesite.com/sysadminfail'.
Read more >Working with REST APIs and PowerShell's Invoke- ...
To send a simple GET request to a REST API endpoint, you'll only need one parameter, Uri . The Uri parameter is what...
Read more >Invoke-WebRequest : Cannot bind parameter 'Headers'
Try alias curl , it apparently goes to Invoke-WebRequest (not on my PowerShell though). If you want the real curl , explicitly use...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This simple example is why I am not willing to change the parameter name nor have I raised PR #16659 to do so as it will break anyone that uses this way to inspect functions/cmdlets programatically & is why I mentioned
The Working Group has reviewed this and it creates a breaking change to the user experience. We don’t see the value to the customer over the breaking change.