转换警告
- python: command should begin with "curl" but instead begins with "OAuth"
-H "Authorization: OAuth {sessionUuid}" \-X GET -d '{"params":{"vipUuid":"b75e7bddf2803f6c85f8450b01262546","protocolType":"TCP","start":5,"limit":20}}' http://localhost:8080/zstack/v1/vips/e6ac71f8cf433c51822bedea67cf4781/get-port-availability
^^^^^
- javascript: command should begin with "curl" but instead begins with "OAuth"
-H "Authorization: OAuth {sessionUuid}" \-X GET -d '{"params":{"vipUuid":"b75e7bddf2803f6c85f8450b01262546","protocolType":"TCP","start":5,"limit":20}}' http://localhost:8080/zstack/v1/vips/e6ac71f8cf433c51822bedea67cf4781/get-port-availability
^^^^^
- java: command should begin with "curl" but instead begins with "OAuth"
-H "Authorization: OAuth {sessionUuid}" \-X GET -d '{"params":{"vipUuid":"b75e7bddf2803f6c85f8450b01262546","protocolType":"TCP","start":5,"limit":20}}' http://localhost:8080/zstack/v1/vips/e6ac71f8cf433c51822bedea67cf4781/get-port-availability
^^^^^
- go: command should begin with "curl" but instead begins with "OAuth"
-H "Authorization: OAuth {sessionUuid}" \-X GET -d '{"params":{"vipUuid":"b75e7bddf2803f6c85f8450b01262546","protocolType":"TCP","start":5,"limit":20}}' http://localhost:8080/zstack/v1/vips/e6ac71f8cf433c51822bedea67cf4781/get-port-availability
^^^^^
curl -X GET '{host}/zstack/v1/vips/{vipUuid}/get-port-availability' \
-H 'Authorization: Bearer {token}' \
-H 'Content-Type: application/json' \
-d '{
"paramsstructure": {
"vipUuid": "{vipUuid}",
"protocolType": "{protocolType}",
"start": "{start}",
"limit": "{limit}"
}
}'