I am working with a very poorly done endpoint...So please understand that I won't be able change how this endpoint behaves.
This ajax call is: POST /doStupidThing/.
Given a list of ids, I need to call the endpoint for each id. How can I make sure the call doesn't get fired before the previous call completes ? Should I just set async to false ?