Re: [orkut-developer] Remover Server

2010-05-04 Thread Robson Dantas
Felipe, Just remove the parameters "params[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.SIGNED;" . That's why it's giving you an error. Actually it does a post, using js api. If you're familiar with jquery, it's almost the same doing an async post to a server. Robso

Re: [orkut-developer] Remover Server

2010-05-04 Thread Felipe Oliviera
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

Re: [orkut-developer] Remover Server

2010-05-04 Thread Robson Dantas
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.opensocia

[orkut-developer] Remover Server

2010-05-04 Thread Felipe Oliviera
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 listin