https://netmaker.org logo
Title
b

bored-island-21407

03/26/2021, 7:37 PM
mkasun@winterfell~/sandbox/netmaker> curl --header "Content-Type: application/json" --request POST --data '{"username":"admin", "password":"password"}' http:/localhost:8081/users/authenticate -D - HTTP/1.1 200 OK Content-Type: application/json Date: Fri, 26 Mar 2021 19:36:11 GMT Content-Length: 252 {"Code":200,"Message":"W1R3: Device admin Authorized","Response":{"UserName":"admin","AuthToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJc0FkbWluIjp0cnVlLCJVc2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNjE2NzkwOTcxfQ.p7xUG55vaV8vfA0CQiyD2tDJ0skkQWinRjNVON_KDrA"}}⏎