this is my current curl request. i am trying to figure out how to increment the "details" value by 1 (so the next requests will be 0000002 and so on and so forth). i want it to loop through 1000 values then output the responses to each request to a text file. any help will be greatly appreciated!
curl "https://webapi.xxx.com/api/getthisdetails?details=0000001" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0" -H "Accept: application/json, text/javascript, /; q=0.01" -H "Accept-Language: en-US,en;q=0.5" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "Authorization: Bearer xxxxxxxxxxxxxxxxx" -H "Origin: https://www.xxxxxx.com" -H "Connection: keep-alive" -H "Referer: https://www.xxxxxxx.com/" -H "Pragma: no-cache" -H "Cache-Control: no-cache"