Here is my command:
curl -H 'API-Key: EXAMPLE' https://api.vultr.com/v1/server/label_set --data 'SUBID=576965' --data 'label=example'
I have tried
fetch("https://api.vultr.com/v1/server/label_set", {
method: "POST",
headers: {
"API-Key":"EXAMPLE"
},
data: "SUBID=576965&label=example",
})
and many others, but none of them worked.