[iPHM/FAQ]How to access and login to swagger UI of iPHM

Summary:
This article and the following posts show how to access to swagger UI of PHM

Environment:
iPHM v1.2

Method:
API swagger UI
Access: http://IP:28080/swagger/index.html

How do we find token in order to make authorization successfully in swagger

Method:
Press F12–>Network–>Fetch/XHR first before loggin into system
After logging to system, find token inside and copy: /api/v1/theme/element/get

Paste token in “Authorize” then start to use api of iPHM

How do we make authorization successfully in POSTMAN?

Method:
If you are using POSTMAN to test API, please use basic authorization (account/password of iPHM) to login