| Author | Topic: problem sending a message to a http server using xb2net |
---|
| Nestor G. Torres | problem sending a message to a http server using xb2net
on Sun, 23 Jan 2011 17:09:26 +0200 |
| Pablo Botella | Re: problem sending a message to a http server using xb2net
on Sun, 23 Jan 2011 16:35:32 +0100 |
| Nestor G. Torres | Re: problem sending a message to a http server using xb2net
on Sun, 23 Jan 2011 19:08:17 +0200 |
| Pablo Botella | Re: problem sending a message to a http server using xb2net
on Sun, 23 Jan 2011 22:24:45 +0100>It worked!
yep
Have just remebered that xb2net have a function xbEscape(cStr) that encode values to be provided inside an url query
Regards,
Pablo |
| Rudolf Reinthaler | Re: problem sending a message to a http server using xb2net
on Mon, 24 Jan 2011 08:43:32 +0100Hello Nestor,
tryp to escape the string, XB2NET has this functio: xbEscape(
cString,[cAllowed] ) -> cEscapedString
regards
Rudolf
Am 23.01.2011 16:09, schrieb Nestor G. Torres:
> Hi all,
>
> I am having a problem sending a message to a http server using
> xb2net...Any possible help will greatly be appreciated.
>
> Kind regards,
> Nestor
>
> oHttp := xbHTTPClient():new()
> oResult
> :=oHttp:Execute("http://www.smss.co.za/API/send_sms.php?user=xxxxxx&pass=xxxxxxxx&sender=Blockbuster&GSM=27832620886&SMSText=hello
> world")
>
> When when viewed through a http viewer we see that the 'hello world' is
> stripped of its middle blank character.
> can this be rectified?
> |
| Nestor G. Torres | Re: problem sending a message to a http server using xb2net
on Mon, 24 Jan 2011 14:44:36 +0200Hi Rudolf,
Everyday I learn something new....Thank you, to you and Pablo...
Kind regards,
Nestor
"Rudolf Reinthaler" wrote in message
news:5843e867$33ab506b$80a0@news.alaska-software.com...
> Hello Nestor,
> tryp to escape the string, XB2NET has this functio: xbEscape(
> cString,[cAllowed] ) -> cEscapedString
> regards
> Rudolf
>
>
> Am 23.01.2011 16:09, schrieb Nestor G. Torres:
>> Hi all,
>>
>> I am having a problem sending a message to a http server using
>> xb2net...Any possible help will greatly be appreciated.
>>
>> Kind regards,
>> Nestor
>>
>> oHttp := xbHTTPClient():new()
>> oResult
>> :=oHttp:Execute("http://www.smss.co.za/API/send_sms.php?user=xxxxxx&pass=xxxxxxxx&sender=Blockbuster&GSM=27832620886&SMSText=hello
>> world")
>>
>> When when viewed through a http viewer we see that the 'hello world' is
>> stripped of its middle blank character.
>> can this be rectified?
>>
> |