Hi,
i'm not sure if this fits here, but i've the Issue that curl and Invoke-RestMethod doesnt'work anymore when the ps1 script is compiled with ps2exe.
Booth Versions work when i run the PS1 script. Is this known issue or is just my code wrong?
curl.exe --% -X GET http://127.0.0.1:8080?IP=10.0.0.15&Action=11
or
$params = @{
"IP"=$LocalIP;
"Action"="1";}
Invoke-RestMethod -Uri "http://127.0.0.1:8080" -Method POST -Body ($params|ConvertTo-Json) -ContentType "application/json"
Hi,
i'm not sure if this fits here, but i've the Issue that curl and Invoke-RestMethod doesnt'work anymore when the ps1 script is compiled with ps2exe.
Booth Versions work when i run the PS1 script. Is this known issue or is just my code wrong?
curl.exe --% -X GET http://127.0.0.1:8080?IP=10.0.0.15&Action=11or