Closed zet809 closed 5 years ago
The expire time is updated as now+24hours
[root@briggs01 ~]# docker exec -it ac0717b7d2bd /bin/bash [root@ac0717b7d2bd xcat-apiserver]# date Wed May 22 02:50:55 UTC 2019 [root@briggs01 ~]# curl -X POST -H "Content-Type: application/json" -d '{"username":"zet809", "password":"passw0rd"}' http://127.0.0.1:5001/api/v2/auth/login { "token": { "expire": "2019-05-23 02:51:00", "id": "6e5b7716-7c3c-11e9-b63f-0242ac110002" } }
The expire time is updated as now+24hours