Just went through this: here is how to create a curl request for creating a "resource" variable for the dynamic pages for supabase:
If you're using Supabase as your CMS and need to create a dynamic blog post page, here’s the simple way to set up the filter for pulling data based on the URL slug.
Use this in your API request:
'
https://[SUPABASE_PROJECT_ID].supabase.co/rest/v1/Posts?[YOUR_COLUMN_NAME]=eq.${system.params.[YOUR_DYNAMIC_PATH]}&select=*'
Replace [SUPABASE_PROJECT_ID] with your unique project ID. (can find in api documents: it's the first numbers)
Also: ' at the front and end of it all is a backtick. To type a backtick on a Windows computer, you can use the keyboard shortcut Alt + 96