Dokümantasyon

Fonksiyonlar

Edge JavaScript. Scope: functions:invoke.

Invoke

MethodPathAçıklama
GET/functionsListe
POST/functions/{name}Çağır
PUT/functions/{name}Deploy kaynak
DELETE/functions/{name}Sil
GET/functions/runtimeRuntime
POST/functions/jobsArka plan iş
Node.js
const res = await fetch(`${EDGE}/functions/hello`, {
  method: 'POST',
  headers: {
    'X-Liap-Key': API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ name: 'Liap' }),
}).then(r => r.json())
console.log(res)

Docs · API