Tu peux utiliser ce script depuis un client HTTP (curl ou fetch) pour envoyer un fichier et recevoir son lien direct.
POST https://upload.natchen.us.kg/
jpg, json, jpeg, png, gif, webp, avif, svg, mp3, wav, ogg, mp4, avi, mov, mkv, pdf, doc, docx, xls, xlsx, ppt, pptx
curl -X POST -F "file=@monimage.png" https://upload.natchen.us.kg/
const form = new FormData();
form.append("file", myFile);
fetch("https://upload.natchen.us.kg/", {
method: "POST",
body: form
}).then(r => r.text()).then(console.log);
https://natchen.us.kg/files/1730283910_a3b9f7d2.png
💡 Pour héberger des fichiers non statiques, archives ou formats non pris en charge, utilise natchfiles.com.