What is the equivalent to Invoke-WebRequest function in PowerShell Version 2. This is what I am trying to doing with my function as I cannot upgrade to PowerShell 4 because I am working on Windows Server 2003.
Invoke-WebRequest $uri -Body ($baseMessage | ConvertTo-Json -Compress) -Method Post -ContentType "application/json"
Thank you