add preference-applied for return=*
This commit is contained in:
committed by
Steve Chavez
parent
daad21e9ec
commit
b33bfb656d
@@ -750,6 +750,7 @@ If the table has a primary key, the response can contain a :code:`Location` head
|
|||||||
|
|
||||||
HTTP/1.1 201 Created
|
HTTP/1.1 201 Created
|
||||||
Location: /projects?id=eq.34
|
Location: /projects?id=eq.34
|
||||||
|
Preference-Applied: return=headers-only
|
||||||
|
|
||||||
Prefer: return=representation
|
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::
|
.. code::
|
||||||
|
|
||||||
HTTP/1.1 201 Created
|
HTTP/1.1 201 Created
|
||||||
Transfer-Encoding: chunked
|
Preference-Applied: return=representation
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user