How to pass variables to Supabase RPC function by API call

Database & APIs

I have a rpc function with arguments on supabase and want to use it by API call.

However, error occurs. I think my settings in Flutterflow is not appropriate.

I'm already checked that the function as it is work on SQL editor of supabase.

Could you please let me know the correct setting in FlutterFlow?

Invoke function in supabase:

Curl -X POST 'https://AAA.supabase.co/rest/v1/rpc/get_profiles3' \
-d '{ "maxtall": "value", "maxweight": "value", "mintall": "value", "minweight": "value", "wkt": "value" }' \
-H "Content-Type: application/json" \
-H "apikey: SUPABASE_KEY" \
-H "Authorization: Bearer SUPABASE_KEY"
What have you tried so far?

I tried to set like this:

Did you check FlutterFlow's Documentation for this topic?
No
2
2 replies