9 messages in com.googlegroups.opensocial-apiRe: Post & Get(Very Urgent)
FromSent OnAttachments
mini22 Apr 2008 05:07 
Stephane22 Apr 2008 06:42 
Stephane22 Apr 2008 06:45 
Aakash Bapna22 Apr 2008 08:23 
Meenu Gupta22 Apr 2008 21:01 
Meenu Gupta23 Apr 2008 21:52 
mini24 Apr 2008 05:07 
Aakash Bapna24 Apr 2008 05:16 
mini24 Apr 2008 21:43 
Subject:Re: Post & Get(Very Urgent)
From:mini (rose@gmail.com)
Date:04/24/2008 09:43:12 PM
List:com.googlegroups.opensocial-api

Is it possible to fetch data posted by my application at some url/file (e.g. - http://www.example.com/some.php) by $_POST?????????

On Apr 24, 5:17 pm, Aakash Bapna <aak@live.com> wrote:

Hey,

That happens when you are not URL encoding the string passed in http request. please use the encodeURI() function in JS on the POST variable you are passing.. more on it here->http://www.w3schools.com/jsref/jsref_encodeURI.asp Thanks

~@@k@sh

http://aakash-bapna.blogspot.com

Date: Thu, 24 Apr 2008 05:08:15 -0700 Subject: [OpenSocial] Re: Post & Get(Very Urgent) From: rose@gmail.com To: open@googlegroups.com

Hey Guys, I m getting - Missing or malformed url parameter Error 400

when I send POST request at some url.

wht is this????wht is the solution for this?????????????

Plz Help me..............

Thanks in advance

On Apr 24, 9:53 am, "Meenu Gupta" <rose@gmail.com> wrote:

Is it possible to fetch data posted by my application at some url/file (e.g. - *http://www.thalasoft.com/engine/system/admin/login.php) by $_POST?????????*

On Wed, Apr 23, 2008 at 9:31 AM, Meenu Gupta <rose@gmail.com> wrote:

THanks to all.I'll try all above examples.

On Tue, Apr 22, 2008 at 8:53 PM, Aakash Bapna <aak@live.com> wrote:

Hi Stephane, The makeRequest() function doesn't generate the code for input boxes, buttons. You have to add the code for html for them your selves;

here is the code that should give you input box, button.

*<?xml version="1.0" encoding="UTF-8" ?> <Module> <ModulePrefs title="Thalasoft Admin Login"> <Require feature="opensocial-0.7"/> </ModulePrefs> <Content type="html"> <![CDATA[

<script type="text/javascript">

function makeNormalRequest() { var params = {}; params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT; var url = "http://www.thalasoft.com/engine/system/admin/ login.php"; gadgets.io.makeRequest(url, response, params); };

function response(obj) { var str = obj.text; var html = str.substr(0, 10000); alert(html); document.getElementById('content_div').innerHTML = html; };

</script>* ** *<input type="text" name="test" id="textbox" size="10"/>* *<button onClick="javascript:makeNormalRequest();">Start test</button>* *<div id="content_div">response text comes here</div> ]]> </Content> </Module> *

Thanks

------------------------------

Date: Tue, 22 Apr 2008 06:45:34 -0700 Subject: [OpenSocial] Re: Post & Get(Very Urgent) From: mitt@gmail.com To: open@googlegroups.com

I'm also trying to display a form in a social app but I have a problem

The page is fetched fine and displayed, but the form input fields are not displayed.

The gadget source code:

_________________________________________________________________