Can you please check your URL: http://myserver.com/orkut_app/makerequest.php

I tried your code with a different URL (http://www.google.com) in the
OpenSocial developer app
(http://osda.appspot.com/)
and it works fine:

function makeNormalRequest() {

  var params = {};
  params[gadgets.io.RequestParameters.CONTENT_TYPE] =
gadgets.io.ContentType.TEXT;
  var url = "http://www.google.com";;
  gadgets.io.makeRequest(url, resp, params);

};

function resp(obj) {
  alert('Ok');
  //obj.text contains the text of the page that was requested
  var ophtml = (obj.text);
  document.getElementById('dom_handle').innerHTML = ophtml;

};

makeNormalRequest();

--~--~---------~--~----~------------~-------~--~----~
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-orkut@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to