You can copy the curl
from postman
:
Then write a small bash
script like:
#!/bin/bash
# This script sends the same cURL POST request 100 times to the specified endpoint.
# Loop from 1 to 100
for i in {1..100}
do
# Print the current request number to the console to track progress
echo "Sending request #$i..."
curl 'YourAPIEndpointHere'
# Uncomment the next line if you want to add a delay between requests
# sleep 1
done
echo "Script finished. Sent 100 requests."