ThePoShWolf/Curl2PS

URL parameters from curl missing after ConvertTo-IRM

ThePoShWolf opened this issue · 1 comments

In the example curl commmand, the URL has parameters that are not returned after conversion.

Curl Command

curl --request GET "https://ncg1in-8d1rag:5nuauzj5pkfftlz3fmyksmyhat6j35kf@api.sherpadesk.com/tickets?status=open,onhold&role=user&limit=6&format=json"  --data ""
> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.2.0
PSEdition                      Core
GitCommitId                    6.2.0
OS                             Microsoft Windows 10.0.17134
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
> Get-Module Curl2PS
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     0.0.1      Curl2PS                             {ConvertTo-IRM, Get-CurlCommand, Get-URLData}

This has been resolved in the latest version.