We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
psql -c 'CREATE TABLE test_bulk(id serial primary key, code text)' curl -i -X POST -d '{"code":42}' \ -H 'Prefer:return=representation' \ -H "Content-type: application/json" \ "localhost:3000/test_bulk?select=code" #HTTP/1.1 201 Created #Transfer-Encoding: chunked #Date: Sat, 04 Aug 2018 17:58:57 GMT #Server: postgrest/0.5.0.0 (fa1e92f) #Content-Type: application/json; charset=utf-8 #Content-Range: */* #[{"code":"42"}] curl -i -X POST -d '{"code":42}' \ -H 'Prefer:return=representation' \ -H "Content-type: application/json" \ "localhost:3000/test_bulk?select=id,code" #HTTP/1.1 201 Created #Transfer-Encoding: chunked #Date: Sat, 04 Aug 2018 18:00:44 GMT #Server: postgrest/0.5.0.0 (fa1e92f) #Location: /test_bulk?id=eq.2 #Content-Type: application/json; charset=utf-8 #Content-Range: */* #[{"id":2,"code":"42"}]
The text was updated successfully, but these errors were encountered:
fix: return location header when pk columns not selected, resolves Po…
01ec817
…stgREST#1162
add test for location header without selected pk with headers-only, ref
701112f
PostgREST#1162
343e41c
Location header improvements(PostgREST#1475)
89060f4
* Create location header only on primary key columns, closes PostgREST#1461 * Return location header when pk columns not selected, fixes PostgREST#1162
No branches or pull requests
The text was updated successfully, but these errors were encountered: