curl命令操作
curl -k -X PUT -H 'Content-Type: application/json' -d '{"grantType":"password","userName":"name","value":"pwd"}' https://xxx:xxx/rest/xxx/v1/sessions
curl -k -X POST -H 'Content-Type: application/json' -H 'X-Auth-Token:x-059eupqqvtmorvg47uuqo6fxvspdo63xvzlcdf3zhc3w9eqn8aap4846fvmk44pjuktjvwir6r6qhh0a5h47fw6nqmo8sbun6n7stf1d9ddd0baq9j3spfhhpd6rc8qk' -d '{"page_no":"1","page_size":"1"}' https://xxx:xxxx/rest/xxxx/query
curl -k -X GET -H 'Content-Type: application/json' -H 'X-Auth-Token:x-alpc1c5c7vql7vs42n85umnskbbycadjtg2r2nmlqp0545tekb2o6l89sbmoulftippcul6kam093wdjdiir7y3to6vtoaang55c2ompkb1jhh0a7uiqunk748inmrrs' https://xxxx:xxxx/rest/xxxx/types
java基础知识