Querying user info
curl --cookie cookies.txt --request GET https://<IP-address-of-SPS>/api/user_info |
{ |
"login_method": { |
"authentication": "local", |
"credential": "password", |
"name": "local_name" |
}, |
"meta": { |
"href": "/api/user_info", |
"next": "/api", |
"transaction": "/api/transaction" |
}, |
"user": { |
"name": "admin" |
} |
} |