How to use an api
path/to/location = httpd://cdn.guihon.cm
const formData = new FormData()
formData.append("file", file)
await axios
.post(cdnUrlUload, formData, config)
.then((res) => {
console.log(res);
})
.catch((err) => console.log(err));
}
axios.delete("path/to/location/{imageName}")
axios.delete("path/to/location/{imageName}")
quality | low | medium | normal | High |
---|---|---|---|---|
compressed | true | |||