[Building Sakai] Request for help on accessing Sakai REST web services

Steve Swinsburg steve.swinsburg at gmail.com
Sun Jun 29 04:58:55 PDT 2014


Hi,

Have a look at the session provider, you can login to that one first then
you'll have a cookie to get at the rest of the requests.

cheers,
Steve



On Sat, Jun 28, 2014 at 2:04 AM, Laxman Deepak <
laxmandeepak.vidyayug at gmail.com> wrote:

> Hi Team,
>
>     I am accessing the sakai REST web services in my local system.I am
> trying to invoke pages in a particular site by giving the siteId in the
> requested web service URL as follows.
>
>
> http://localhost:2016/direct/site/a0e479f4-3cfa-46d4-ab97-b75aa88fd7dc/pages.json
>
> But i am unable to access the above mentioned URL without any one of that
> particular site user logged into the browser.
>
> Note:once i login with one of the site user in another tab,i can access
> above mentioned URL and it is returning the JSON data successfully.
>
> How can i get JSON data without user logged into the browser or is there
> anyway pass the username and password as parameters to the URL and can we
> create a session?.
>
>
>
>
> Thanks & Regards
> Kona Laxman Deepak
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140629/f280cb5b/attachment.html 


More information about the sakai-dev mailing list