Getting 404 inserting into a custom schema but works fine in public #31299
Answered
by
GaryAustin1
brysonkbarney
asked this question in
Questions
-
Hey all, I’m getting a 404 when doing POST /rest/v1/rinse.customers. If I insert into public.test_table via POST /rest/v1/test_table, I get 201 no problem. I’ve:
Any ideas what could be causing the 404 on my custom schema? Thanks! Here is my code for reference:
|
Beta Was this translation helpful? Give feedback.
Answered by
GaryAustin1
Dec 23, 2024
Replies: 1 comment
-
Using non default schema of public requires 1 of 2 headers be set with the schema. You can't do schema.table. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
GaryAustin1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using non default schema of public requires 1 of 2 headers be set with the schema. You can't do schema.table.
https://docs.postgrest.org/en/v12/references/api/schemas.html#schemas