My bad, The content type was JSON for a HTML result. 

But even then, firebug shows the response of the request as 

<HTML>
<HEAD>
<TITLE>INVALID_PARAMETER url parameter is missing.</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>INVALID_PARAMETER url parameter is missing.</H1>
<H2>Error 400</H2>
</BODY>
</HTML>

Which shouldn't be so.


-----Original Message-----
From: Nitin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 25, 2008 7:20 PM
To: Orkut Developer Forum
Subject: makeRequest problem(s) in Production environment (Wednesday Noon
IST)

Hey GGuys, I see issues with makeRequest.

 The following code segment on CodeRunner throws a null instead of
some content

  var mrParam={};
 
mrParam[gadgets.io.RequestParameters.CONTENT_TYPE]=gadgets.io.ContentType.JS
ON;
 
mrParam[gadgets.io.RequestParameters.AUTHORIZATION]=gadgets.io.Authorization
Type.SIGNED;
 
mrParam[gadgets.io.RequestParameters.METHOD]=gadgets.io.MethodType.GET;

    gadgets.io.makeRequest('http://www.google.com/',
        function (response) {

            var jsondata=response.data;
        console.log('got '+response.data);
          alert(response.data);
    },mrParam
    );

Seeing problems in makeRequest for past 4-8 hours. Can someone please
look into this. Also, is anyone else facing similar issues.

thanks
nitin


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to