Hi Vu, Your shindig servlets are already setup to follow the opensocial rest url pattern. The servlet handling those url is accessible at /social/rest/ you can tried to query this url from your browser to see what I am talking about : http://localhost:8080/social/rest/people/john.doe<http://localhost:8080/>( supposing that you are on localhost and port 8080 ) The above url is giving info about the user john.doe please take a look at : http://shindig.apache.org/overview.html ( opensocial rest section )
hope it helps On Wed, Apr 28, 2010 at 1:39 PM, VU, Thi Thu Thuy <[email protected]>wrote: > Hi, > > This rest url is generated automatically by shindig? Is that right? > So if it's right, which parameters I have to give shindig to generate it, > and can I give them? > > Thanks a lot. > > -----Original Message----- > From: franck tankoua [mailto:[email protected]] > Sent: mercredi 28 avril 2010 13:19 > To: [email protected] > Subject: Re: How to make request to shindig > > Hi, > I believe you can directly include the features js files in your html pages > and use them to make convenient call to your services. I have not tried > that > Yet but I will certainly work on something similar in a week or so. > > You can allways use Ajax call directly to call your rest url ( e.g with > prototype you will do something like : new Ajax.Request(" > /social/rest/appdata/{guid}/@friends/{appid}" ,.....) > > It is unlikely that you need to use Ajaxcalls directly since we already > have > a nice osapi out there. > Let me know if this helps. > > > On Wed, Apr 28, 2010 at 11:26 AM, VU, Thi Thu Thuy > <[email protected]>wrote: > > > Hello, > > I've learnt shindig for 2 months, but i don't understand much how I can > > make the request from my own site to shindig to get DB. I want to use > Rest > > API > > For example, on my own site, I want to retrieve my friend's application. > So > > which steps I have to follow to get his app? > > > > Could you please list here all detail steps for this request? > > I really need your help, cause I don't know how to do it, I'm blocked for > a > > long time :( > > Thank you very much. > > > > > > -- > Franck > -- Franck
