You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be a nice feature tobe able to read the response context.
Currently the libary only parses the response body as far as im aware and there is no way to obtain information from the Response Headers and Cookies and so on.
Im imagining something like this (I am not a delphi developer):
var
vList : TList<TPerson>;
context : ResponseContext = ResponseContext.Create(); //Empty Instance
begin
vList := RestClient.Resource('http://localhost:8080/java-rest-server/rest/persons')
.Accept(RestUtils.MediaType_Json)
.fill(context) //set a reference to the context that should be filled
.Get<TList<TPerson>>();
The text was updated successfully, but these errors were encountered:
I think it would be a nice feature tobe able to read the response context.
Currently the libary only parses the response body as far as im aware and there is no way to obtain information from the Response Headers and Cookies and so on.
Im imagining something like this (I am not a delphi developer):
The text was updated successfully, but these errors were encountered: