mirror of
https://github.com/supabase/supabase.git
synced 2026-07-01 01:25:54 +08:00
remove dart invoke example that's not relevant (#35672)
removed example
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user