Issue:
How do you enter multiple lines of CURL commands to DOS prompt?
Environment:
Windows DOS, CMD, CURL
Resolution:
Using ^ (carat) at the end of each line to have more command enter. This way you can see all the commands entered nicely on the screen.
Step-by-step instructions:-
Sample CURL command:
curl https://www.problemsolvedtoo.com ^ --request POST ^ --header "Content-Type: application/json" ^ --data '{"data":"Hello World!"}'