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

posted @ 2024-09-13 11:06  卡卡西殿  阅读(6)  评论(0编辑  收藏  举报