I seem to be missing something around the REST API...
# help
i
I seem to be missing something around the REST API. I've created a new project, created a new table with two fields (id and name) and checked the API documentation for how to use
curl
to access my data. However even a direct copy-paste of the command (with anon key) still returns an empty array. Is there anything else I need to do to enable the REST API?
n
Hello @isaac-mcfadyen! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
🆕 REST API Issues
g
Do you have RLS on? Can you show your call?
n
REST API Issues
i
Seems to be my problem, I added a new policy to "allow all" and it's fixed 😅
Sorry... although this might be something that should be added as a note in the docs, as I searched forever and couldn't find this described as required.
n
Thread was archived by @isaac-mcfadyen. Anyone can send a message to unarchive it.