It's easy to set up a loop to do an HTTP transaction several times (i.e. waiting for a particular result), but I'm not clear on how to get results from the HTTP transaction so I can act on them. At a minimum, I think I'd want to get the HTTP Status Code into a variable, but potentially also the body and/or certain headers from the response. Hopefully, I don't have to save the body to a file and then retrieve it from there? But even then, how would I get the HTTP Status Code?
Also, in the loop, there is "maximum iterations", so that's how I stop it if it hasn't gotten the result I'm looking for after some period of time. But what happens at that point? Does the job fail? Does the job continue to the next task after the loop?