'Magento Rest API Error 503 Service Unavailable

I am accessing Magento rest APIs in my live server and I am getting response code 503 for that, In my localhost that works fine and my Magento site also works fine I have also tried,

php bin/magento cache:clean

and

php bin/magento cache:flush

also if I am accessing APIs in browser it also works fine not getting what is the problem,

its saying Checking your browser before accessing www.yourdomain.com in html response but not getting that error in localhost or postman.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source