<div dir="ltr"><div class="gmail_default" style="font-size:large">Hello.<br>I'm attempting to call a fairly simple (but non-modifiable) restful API by means of AuthBy REST, and I cannot seem to make sense of how I should act upon the response it gives.</div><div class="gmail_default" style="font-size:large"><br>I get a JSON response that looks something like this:<br>{<br>"version": "LinOTP 2.11.2",<br>"jsonrpc": "2.0802",<br>"result": {<br>   "status": true,<br>   "value": false<br>},<br>"id": 0<br>}<br></div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">I've been using a slightly modified AuthBy URL four years. However, with the upgrade I'm working on, I figured I would change to an asynchronous client (and eliminate the server farm we created in order to deal with the slowness of those asynchronous calls). I haven't found much in the reference manual or in goodies to really explain in detail how to use this. I've been through <span style="color:rgb(0,0,0);font-family:courier,"courier new",monospace;font-size:17.5px;white-space:pre-wrap">Heikki's</span> email from this year old thread (<a href="https://www.mail-archive.com/radiator@lists.open.com.au/msg01059.html">https://www.mail-archive.com/radiator@lists.open.com.au/msg01059.html</a>) but at this point I can't tell if I'm screwing up when there is something like the camp landmass. Not applying because of my JSON hierarchy (the result, result.value) not being flat.<br><br>I've also been trying MapResponseHook, but the documentation on that is, shall we say, spartan. I just figured it might get the server response into a place where I could access it via AuthBy internal or a post auth hook, maybe that's what's required.<br><br>Does someone have an example of how to use this with JSON going back in response?<br><br>Greg<br><br><br><br></div><div class="gmail_default" style="font-size:large"><br></div></div>