I'm very much a beginner when it comes to web development, and I'm not at all familiar with Windows. I have a curl script that runs on my Mac, but I need to be able to run it on a Windows machine.
I've installed Cygwin (I think? I downloaded something off of that site) but I still don't know how to execute the script.
Typing cmd.exe script_name.sh into the command prompt window returns "Microsoft Windows version 10 2015 Microsoft Corporation". No errors, nothing.
Pasting the entire script into the command prompt returns "curl is not recognized as an internal or external command, operable program or batch file".
Here is my script (modified to remove passwords and such): curl -X POST \ "http://USERNAME:PASSWORD@localhost:8080/api/v2/projects/PROJECT_NAME/cards/CARD_NUM/attachments.xml" -F "file=@/path/to/file/file_name.pdf"
Can someone please explain to me very slowly how to execute this thing? I feel completely stupid and frustrated because all I need to do on my Mac is type ./script.sh and it works. I've spent the past few days googling everything I can think of and nothing is working. Thank you very much for your help.