I can upload csv file to QuestDB on Linux using
curl -F [email protected] http://localhost:9000/imp?name=AllTrade
and it works correctly. How can I upload on Windows using Powershell? I tried
Invoke-RestMethod -Uri "http://localhost:9000/imp?name=AllTrade" -Method Post -InFile "C:\path\to\AllTrades.csv"
but this got rejected. What would be the identical equivalent of the above curl command in Powershell?