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.star.me...@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.star.me...@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>
> > > *
> > > ------------------------------
>
> > > > Date: Tue, 22 Apr 2008 06:45:34 -0700
> > > > Subject: [OpenSocial] Re: Post & Get(Very Urgent)
> > > > From:
mittiprove...@gmail.com