Using Data API directly
Hi! how can I use the data API directly via REST requests (instead of using some library)? and if that's possible, how do I careate a JWT?
1 Reply
stormy-gold•3w ago
Hey!
Can you can just curl the endpoint, since the Data API is PostgREST compatible you look at their docs : https://docs.postgrest.org/en/v13/references/api/tables_views.html
As for the JWT it needs to be generated by your IdP
PostgREST 13.0
Tables and Views
All tables and views of the exposed schema and accessible by the active database role are available for querying. They are exposed in one-level deep routes. For instance the full contents of a table people is returned at There are no deeply/nested/routes. Each route provides OPTIONS, GET, HEAD, P...