Open Bug 1682186 Opened 4 years ago Updated 4 years ago

Copy as Powershell Invoke-WebRequest

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: nerixdev, Unassigned)

References

(Blocks 1 open bug)

Details

When inspecting requests in the network monitor, there is the possibility to copy a request as a cURL command that will send the same request (headers, post-data...). Now on Windows, cURL isn't pre-installed and (although some people have it installed) not the most common utility like for example an unpacking utility (e.g. 7zip/WinRar).

There's however Powershell which is pre-installed and has the capability to send HTTP requests. This is done using the Invoke-WebRequest (iwr) cmdlet.

I think it would be a great addition to support the copying of requests to Powershell as it's pre-installed on Windows in contrast to cURL.

Thanks for reporting!

I think this is a good idea!

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.