Install curl on Windows, and you probably won't need to change anything.
NB: You may not even need to install it. If you're on Windows 10 v1803 or later, you already have curl. If you have Git for Windows installed, that comes with a copy of curl as well.
If you don't meet either of those requirements, you can download the Windows version from the curl site:
curl for Windows[
^]