POST to endpoint returning 201 but no new DB row?
I've also posted this to GitHub before spotting the Discord server, so feel free to delete this if that is the correct place for this question.
I'm just getting to grips with Supabase, loving it so far. I've got a test table lists which a couple of columns, id & name. My understanding is that this should create the appropriate CRUD endpoints. When I make a GET request on /rest/v1/lists I do indeed get the rows I expect. However, submitting a POST with a valid body (excluding ID as it looks as though this is autoincrementing) to the same endpoint returns a 201, but a new row is not created in my DB.
Does anyone have any idea what I'm doing wrong? If I wasn't getting a 201 I'd think something is amiss, but apart from no new row being created, all seems fine! Any help that anyone can offer would be great, thanks!
I'm just getting to grips with Supabase, loving it so far. I've got a test table lists which a couple of columns, id & name. My understanding is that this should create the appropriate CRUD endpoints. When I make a GET request on /rest/v1/lists I do indeed get the rows I expect. However, submitting a POST with a valid body (excluding ID as it looks as though this is autoincrementing) to the same endpoint returns a 201, but a new row is not created in my DB.
Does anyone have any idea what I'm doing wrong? If I wasn't getting a 201 I'd think something is amiss, but apart from no new row being created, all seems fine! Any help that anyone can offer would be great, thanks!