[MGNLRESTCL-164] DOC: Two types of restfn calls, normal and full Created: 16/Oct/20  Updated: 27/Nov/20  Resolved: 27/Nov/20

Status: Closed
Project: REST Client
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Martin Drápela Assignee: Martin Drápela
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes MGNLRESTCL-167 DOC: Check and update DOCS62 Example ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Declarative REST clients
Sprint: HL & LD 16
Story Points: 3

 Description   

Since https://git.magnolia-cms.com/projects/MODULES/repos/rest-client/commits/4a52be4f9b81faad4b7b44bedecba6072167977f#magnolia-rest-client/src/main/java/info/magnolia/rest/client/templating/RestTemplatingFunctions.java

callForResponse returns a full response, and call returns only the "body" of the response.

Check against the current https://git.magnolia-cms.com/projects/MODULES/repos/rest-client/browse/magnolia-rest-client/src/main/java/info/magnolia/rest/client/templating/RestTemplatingFunctions.java


Originally mentioned in a comment on MGNLRESTCL-102:

Also, revise the assign statement with the restfn.callForResponse() 
>> see in https://documentation.magnolia-cms.com/pages/viewpage.action?spaceKey=DOCS62&title=REST+Client+module#RESTClientmodule-Handlingerrorsandexceptions:

Also affected: https://documentation.magnolia-cms.com/display/DOCS62/Example+REST+client+configurations

 


Generated at Mon Feb 12 10:43:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.