h2c icon indicating copy to clipboard operation
h2c copied to clipboard

PowerShell

Open 89z opened this issue 4 years ago • 2 comments

The generated commands are invalid for PowerShell, if query string or body contains double quotes or ampersands.

89z avatar Sep 22 '21 03:09 89z

Here is example correctly quoted:

curl 'localhost:50342/query/?query=f5&va=\{\"code\":\"CThvvO\",\"first\":50,\"after\":\"\"\}'

89z avatar Sep 22 '21 04:09 89z

We probably need to add an option for PowerShell to make that work...

bagder avatar Sep 22 '21 09:09 bagder