[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: REST Services and Cookies

  • Thread starter Thread starter heicomarkl
  • Start date Start date
Status
Not open for further replies.
H

heicomarkl

Guest
Edsel Thanks for the response. I am using rest with HTTP and I have managed to establish a session now with the following: DEFINE VARIABLE oClient AS IHttpClient NO-UNDO. DEFINE VARIABLE oReq AS IHttpRequest NO-UNDO. DEFINE VARIABLE oResp AS IHttpResponse NO-UNDO. DEFINE VARIABLE oCookies AS Cookie EXTENT NO-UNDO. oClient = ClientBuilder:Build() :Client. oReq = RequestBuilder:Get('URIPath') :Request. oResp = oClient:Execute(oReq). oResp:GetCookies(oCookies). I am able to see that there is one cookie available for me which is what I am expecting. Now I just need to get the contents of it :) Thanks Mark

Continue reading...
 
Status
Not open for further replies.
Back
Top