I am working with bash and I am trying to make a curl url call in a for loop.
Below is my simple curl call -
curl -v --header "Connection: keep-alive" "localhost:8080/user?userid=52010&client_id=20&attr=0"
And I am trying to make this curl call in for loop 100 times -
for ((i=1;i<=100;i++)); do curl -v --header "Connection: keep-alive" "localhost:8080/user?uuid=52010&model_id=20&attr=0" done
I tried running above code as it is in the command line but it doesn't work and it gives me like this -
Any thoughts what wrong I am doing?