I want to submit some hundred HTTP requests using CURL, preferrably in parallel. This request simply shall submit a value to a server. How can I do this OS independent? I started writing a .txt file with a lot of lines looking like:
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" url = http://localhost:8080/sales?salesAmount=111.91
Only the amount will vary.
Maybe better: The file contains only the amounts one in a line and the CURL command just reads each line as a parameter to be inserted into the CURL command!?
Moved to superuser.com