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

Steve Swinsburg steve.swinsburg at gmail.com
Mon Jun 30 16:02:42 PDT 2014


Have a look at /direct/session/describe

Cheers
Steve

sent from my mobile device
On 01/07/2014 12:47 AM, "Laxman Deepak" <laxmandeepak.vidyayug at gmail.com>
wrote:

> Hi,
>
> I am able to create a new session by using session provider(EntitySession)
> as given in following URL
>
>              http://localhost:2016/direct/session
>
> Can you please suggest me how to log in to the newly created session by
> giving username and password as parameters in the URL(REST WebServices).
>
>
> On Sun, Jun 29, 2014 at 5:28 PM, Steve Swinsburg <
> steve.swinsburg at gmail.com> wrote:
>
>> 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/20140701/0ea8d285/attachment.html 


More information about the sakai-dev mailing list