Dart Reference v1.0

Invokes a Supabase Edge Function.

Invokes a Supabase Function. See the guide for details on writing Functions.

  • Requires an Authorization header.
  • Invoke params generally match the Fetch API spec.

final res = await supabase.functions.invoke('hello', body: {'foo': 'baa'});
final data = res.data;