Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

remove dart `invoke` example that's not relevant (#35672)

Ofir Levitan2f475ae9f9a5
diff --git a/apps/docs/spec/supabase_dart_v2.yml b/apps/docs/spec/supabase_dart_v2.yml
index 623eab3dfd5..1b45f350ba7 100644
--- a/apps/docs/spec/supabase_dart_v2.yml
+++ b/apps/docs/spec/supabase_dart_v2.yml
@@ -2446,20 +2446,6 @@ functions:
final res = await supabase.functions.invoke('hello', body: {'foo': 'baa'});
final data = res.data;
```
- - id: specifying-response-type
- name: Specifying response type.
- description: |
- By default, `invoke()` will parse the response as JSON. You can parse the response in the following formats: `json`, `blob`, `text`, and `arrayBuffer`.
- isSpotlight: true
- code: |
- ```dart
- final res = await supabase.functions.invoke(
- 'hello',
- body: {'foo': 'baa'},
- responseType: ResponseType.text,
- );
- final data = res.data;
- ```
- id: parsing-custom-headers
name: Parsing custom headers.
description: |