APIs 認證
curl -X POST \
http://192.168.1.1:8080/rest/auth/1/session \
-H 'content-type: application/json' \
-d '{ "username": "userid", "password": "123456" }'
不使用APIs
wget http://192.168.1.1/rest/gadget/1.0/login --post-data="os_username=userid&os_password=123456&os_destination=&user_role=&atl_token=&login=Log+In"
沒有留言:
張貼留言