How to automatically rerun ajax call when xhr returns 503 – Jquery ajax
In my app I'm using an AJAX get request to call an API configured using API Gateway in AWS. Sometimes when the API hasn't been called in awhile it will error out with a 503 because the server is trying…