Backend APIs have stopped working if triggered from localhost

Job ID: 34619679

Budget: $10 – $30 USD

We have an angular project and django at backend Server is running on ubuntu 18.04 on digitalocean.
Somehow the APIs are working fine when our code is deployed on the staging server, but when we do the proxy from localhost then the same API does not respond.

Need someone who can quickly fix it.
Related categories: Cloud Computing Ubuntu RESTful API