Skip to content

Commit 7d1e1d2

Browse files
author
Admin
committed
Update readme for list via post
1 parent da77819 commit 7d1e1d2

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -256,27 +256,13 @@ The above "errors" are optional and appear only for validation errors while "mes
256256
#### III.2 Get resource
257257
**GET** /{resource}/{identifier}?withRelations[]=has_manyRelation&withRelations[]=has_oneRelation&withRelationsCount[]=has_manyRelation&withRelationsExistence[]=has_manyRelation
258258

259-
**POST** /{resource}/{identifier}
260-
261259
headers:
262260

263261
Authorization: Bearer ... // if needed. not coded in this lib
264262
265263
Accept: application/json
266264

267-
Content-Type: application/json OR application/x-www-form-urlencoded // for POST
268-
269-
Body for POST:
270-
271-
{"withRelations":["has_manyRelation","has_oneRelation"],"withRelationsCount":["has_manyRelation"],"withRelationsExistence":["has_manyRelation"]}
272-
273-
OR
274-
275-
withRelations[]=has_manyRelation&withRelations[]=has_oneRelation&withRelationsCount[]=has_manyRelation&withRelationsExistence[]=has_manyRelation
276-
277-
Use **POST** requests if GET returns this error message: **Request Header Or Cookie Too Large**
278-
279-
or if the filters contain **sensitive data**
265+
Use **POST** LIST requests if the identifier contains **sensitive data**
280266

281267
Json Response:
282268

0 commit comments

Comments
 (0)