API arayüzüne erişmek için giriş yapın
1// Aaro ERP token alma – en basit hâli2fetch("https://erp.aaro.com.tr/Token", {3 method: "POST",4 headers: { "Content-Type": "application/x-www-form-urlencoded" },5 body: new URLSearchParams({6 grant_type: "password",7 username: "KULLANICI_ADI",8 password: "SIFRE",9 }),10})11 .then((r) => r.json())12 .then((d) => console.log("Token:", d.access_token))13 .catch(console.error);