PEA's API for IDM V1.0.1
by notzipo

GET http://localhost:3210/api/user/:username

GET http://localhost:3210/api/dept/:deptid

GET http://localhost:3210/api/IsUserLoggedIn/:SessionId

GET http://localhost:3210/api/logout/:UserId

POST http://localhost:3210/api/login
header: Content-Type: application/x-www-form-urlencoded
body: username=495277&password=xxxxxx


OR

POST http://localhost:3210/api/login
header: Content-Type: application/json
body: {"username": "495277", "password": "xxxxxx"}

HTML DEMO
Vue.js DEMO