question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add URL alias to URI parameters on Invoke-WebRequest & Invoke-RestMethod

See original GitHub issue

Summary 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:closed
  • Created 2 years ago
  • Comments:26 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
kilasuitcommented, Dec 21, 2021

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

changing the parameter name has potential to be a breaking change

image

1reaction
theJasonHelmickcommented, Aug 31, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found