What does curl –data-binary map to in Invoke-WebRequest in powershell?

Question:

What does curl --data-binary map to in Invoke-WebRequest in powershell ?

I tried:

Answer:

Because the people at Microsoft decided that powershell should do this sort of “hijacking”. You can avoid it by invoking curl as “curl.exe”.

See also Removing the PowerShell curl alias

Source:

What does curl –data-binary map to in Invoke-WebRequest in powershell? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply