Curl api on for loop doesn't work

Okay i’ve applied your corrections.
Continues undaunted not to work the loop :frowning_face: