From b33bfb656d5d1ec233130b82f0db4b183d4b49eb Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 10 Aug 2023 01:24:02 -0500 Subject: [PATCH] add preference-applied for return=* --- docs/references/api/tables_views.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/references/api/tables_views.rst b/docs/references/api/tables_views.rst index 469ad612f..518a58e2e 100644 --- a/docs/references/api/tables_views.rst +++ b/docs/references/api/tables_views.rst @@ -750,6 +750,7 @@ If the table has a primary key, the response can contain a :code:`Location` head HTTP/1.1 201 Created Location: /projects?id=eq.34 + Preference-Applied: return=headers-only Prefer: return=representation ----------------------------- @@ -775,7 +776,7 @@ On the other end of the spectrum you can get the full created object back in the .. code:: HTTP/1.1 201 Created - Transfer-Encoding: chunked + Preference-Applied: return=representation [ {