Jimmy
Jimmy11mo ago

Async API Call : check status loop

Hello , I wonder if there is node to achieve this : I have an async api call (similar to Replicate), first when do POST request, i will get {"id", "status"}. Then i want to loop GET request to check if "status" == "Completed" , how to do so ? thank you in advance
2 Replies
gbengaoyeee
gbengaoyeee11mo ago
why would you want to do this? sounds very inefficient