<div dir="ltr"><br><div style>Hello,</div><div style><br></div><div style>Sorry if this is documented somewhere that I'm not seeing, but I have pulled down the latest version of Koha  and the restful code for development, but several of restful tests do not pass. It looks like all empty JSON is being returned, so I think my test environment is not right....are there maybe some mock definitions I'm missing? Apologize about for being dense...this is my first pass at setting up Koha for development...</div>
<div style><br></div><div style>thanks for any help...b,chris. </div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 February 2013 09:14, Fitzpatrick, Christopher <span dir="ltr"><<a href="mailto:cf@wmu.se" target="_blank">cf@wmu.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>So, I went a bit more in-depth with the rest.pl... I'm curious if there's a plan to add user interaction functionality to this? Like allow users to renew loans, place holds, cancel holds? </div>

<div>If someone where to add this, would you take a pull-request, or is this out of scope and should this be forked to a project? </div><div><br></div><div>thanks again..b,chris.</div><div><div class="h5"><div class="gmail_extra">

<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 February 2013 11:34, Fitzpatrick, Christopher <span dir="ltr"><<a href="mailto:cf@wmu.se" target="_blank">cf@wmu.se</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>Hi, <div><br></div><div>Excellent! Thanks for the info. The koha-restful package looks like a better fit than the <a href="http://ilsdi.pl" target="_blank">ilsdi.pl</a> script. It was a little hard to install, but I figured it out ( could not find a <span style="font-size:12px;white-space:pre-wrap;font-family:monospace">libcgi-application-dispatch-perl for squeeze, but found  package </span>libcgi-application-basic-plugin-bundle-perl has this module.) Looks like everything works. </div>


<div>  </div><div>I actually just implemented OAuth2 with Koha (we use Google Apps for Education, so all our student's use gmail), so I think this will simplify the authentication situation as well...</div><div>
<br></div><div>I'm currently writing a ruby gem to interact with Koha...I'll send an update to the list when I publish it, just in case anyone else is interested...</div><div><br></div><div>thanks again. b,chris. </div>

<div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 February 2013 21:27, Chris Cormack <span dir="ltr"><<a href="mailto:chrisc@catalyst.net.nz" target="_blank">chrisc@catalyst.net.nz</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>* Fitzpatrick, Christopher (<a href="mailto:cf@wmu.se" target="_blank">cf@wmu.se</a>) wrote:<br>



>    Hi everyone,<br>
>    I've just started working on some "connector" code to extend some<br>
>    functionality of our Koha instance by interacting with another web app we<br>
>    use. I'm wanting to authenticate users to their Koha accounts and it seems<br>
>    like using the ILSDI api would be the easiest way, since it would it would<br>
>    allow me to not have to make a direct DB connection.<br>
>    However, looking at the AuthenticatePatron action,  I'm not too<br>
>    comfortable passing username and password simply as clear text GET<br>
>    parameters, so I am trying to come up with some ways to avoid this, as<br>
>    it's not very secure. Limiting IP access to the <a href="http://ilsdi.pl" target="_blank">ilsdi.pl</a> probably does not<br>
>     complete resolve this issue, since the username and password will still<br>
>    be captured in the http logs. I am curious what are some of the security<br>
>    measures others are using when using this api?<br>
>    Thanks for any help! Very much appreciated...best, chris fitzpatrick<br>
<br>
</div></div>I'd POST to it, over SSL<br>
<span><font color="#888888"><br>
Chris<br>
<br>
--<br>
Chris Cormack<br>
Catalyst IT Ltd.<br>
<a href="tel:%2B64%204%20803%202238" value="+6448032238" target="_blank">+64 4 803 2238</a><br>
PO Box 11-053, Manners St, Wellington 6142, New Zealand<br>
</font></span></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>