Retrieving table data with the REST API and cURL
Throughout this book, we’ve used the Supabase client to communicate and manage data with our Supabase instance. That’s great, and, as you’ve learned in Chapter 2, there are many other libraries for Supabase for other languages.
At this point of the book, I want to remind you that, ultimately, it’s all just API requests. We’ve already dealt with such when using webhooks, but now I want to specifically point out once more how easy it is and take away the fear of playing around with the REST API directly. Why? First and foremost, it’s because remembering that, with Supabase, you’re independent of language-specific implementations is uplifting; then, secondly, it allows you to run Supabase requests in the command line.
Say you’re on a system where you only need one simple HTTP request (for example, an automation system) and you want to retrieve some data from your Supabase project...