send a message like this
fetch('https://abb-king.cloud.cn:8080/service/cart/add', {
method: 'POST',
body: JSON.stringify({"useUnitId":"000000000000000200,424242020198576128","setCount":"1","billType":"dailySettlement","orderType":"new","durationUnit":"D","productTypeCode":"IPv6_UL","consoleCustomization":{},"productList":[{"region":"region-kunming-hlw","availableZone":"","productLineCode":"EIP","productTypeCode":"IPv6_UL","productLineName":"ip","instanceCount":"1","instanceId":"ada3bafe-590b-45d7-a18f","instanceName":"","itemList":[{"code":"instance","type":"billingItem","unit":"COUNT","value":"","packageList":null}]}],"recordOrder":1}),
headers: {
'Content-type': 'application/json; charset=UTF-8','Authorization': 'bearer eyOiJSUzI1NiIs'
}
})
.then(res => res.json())
.then(console.log)
ipv6 curl
curl -6 -g --interface eth0 "http://[e80::f85b:4256:ee76:24a4]:8080" -vvv
put
curl -X PUT -H 'Content-Type: application/json' -H 'region: ly-dx-zx' -H 'Authorization:bearer token' -d '{"eip": {"serverId":"48e95b16--9fff-9cda5f443b25","portId":"c97a826a--ceb373aad4d5","fixedIp":"172.16.1.17","type":"11","availabilityZone":"ab.cd.ed"}}' http://100.105.50.1:8080/ecp/v1.1/esp/-4b95-954e-371ea947a0f0/action/bind