Hi Robson, Now get it to work following his script.
It is an error that was occurring in return for JSON, but it was the way he was doing the query. Just a question, it does use REST or JS API? Or is there something that is advisable to use REST? Thanks. Felipe Oliveira. 2010/5/4 Robson Dantas <biu.dan...@gmail.com> > Hi Felipe, > > You can use javascript only, making requests from the gadget to your > server. You can use JSON and parse back to javascript, it's a common > operation. > > The function, which does that it gadgets.io.makeRequest . > > I wrote a simple example some time ago, take a look here: > http://www.opensocial-br.org/exemplo/opensocialbr.xml > > Search for "function enviaPost()" . > > Let me know if it helps you. > > Regards, > > Robson Dantas > > 2010/5/3 Felipe Oliviera <ifn...@gmail.com> > >> Hi, >> >> I need to use REST for making a communication between the application and >> my remote server or is there some way to perform data exchange using >> only JavaScript API? >> >> I have a remote server that will hold consultations in a database and >> return data in JSON, and must receive these data for listing in the app... >> >> Thanks, >> Felipe Oliveira. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Orkut Developer Forum" group. >> To post to this group, send email to opensocial-or...@googlegroups.com. >> To unsubscribe from this group, send email to >> opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/opensocial-orkut?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Orkut Developer Forum" group. > To post to this group, send email to opensocial-or...@googlegroups.com. > To unsubscribe from this group, send email to > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/opensocial-orkut?hl=en. > -- You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.