2️⃣Commandes img
Authentification
{ "0000000000000000000": "[email protected]" }
Notes techniques
Exemple d’intégration JavaScript
const key = "000000000000000000";
fetch("http://api.maxlware.fr/v1/img/logo.png", {
headers: { "X-API-Key": key }
})
.then(r => {
if (!r.ok) throw new Error("Erreur d'accès à l'image");
return r.blob();
})
.then(imgBlob => {
const url = URL.createObjectURL(imgBlob);
document.querySelector("img").src = url;
});Mis à jour
