I am using Apache Tomcat 9 to run documentum rest APIs from Windows server but whenever I am hitting the API from PyCharm it is giving the 502 error (http response code) and the text is:
**The server you are requesting is not responding. This is not a proxy issue. To solve the problem contact server administrator. Your sending address on the internet is Ip address.
The same APIs are running fine from POSTMAN.
API: http://localhost:8080/dctm-rest/repositories
Please help and suggest how to resolve this http error of 502 when hitting API from PyCharm.