Help using curl
Help using curl
I've been attempting to grasp how to use curl, it functions mostly when I run a command like this (on Windows' cmd). It helps me see the upload progress. I've tried larger files that take around 20 seconds, and I want to observe the process instead of a static terminal. I noticed adding --progress-bar gives a progress bar, but it doesn't appear to work on Windows. I found some suggestions online suggesting using "|type" for Linux, but I can't locate equivalent options for Windows. I assume it works similarly there, though it might interfere with the file and cause errors like "Failed writing body" when reaching 100%. I'm hoping someone can clarify how to proceed on Windows. Thanks!
Are you working with PowerShell? Remember that "curl" in this context is an alias for Microsoft's Invoke-WebRequest command. You'll need to check the arguments it requires. For genuine curl, consider using WSL and then you can run commands like cat.
I see, you're using a command prompt. The curl command executed from there is likely the one you're referring to.