In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TInternet ???

Xailer professional forum in English
Responder
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

TInternet ???

Mensaje por pjmfelix »

Hi all,
i try to do a request to a web server with this sample code, but in the
server logfile that register the requests, nothing happens.
My sample is !
WITH OBJECT TInternet():New()
IF :Open()
:Connect( "http://pc_mario/" )
hData := :PostRequest( "//Displays.asmx/SendToDisplaysCPC" ,
" GroupID=1&ServiceID=1&ClientID=1&Ticket=A22& Description= " )
:CloseRequest( hData )
:Close()
ENDIF
END
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

TInternet ???

Mensaje por pjmfelix »

Ok !! i already solve the problem.
It's OpenURL() and not RequestPost().
Regards.
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escreveu na mensagem
news:[email=473430ba@ozsrv2.ozlan.local...]473430ba@ozsrv2.ozlan.local...[/email]
> Hi all,
> i try to do a request to a web server with this sample code, but in the
> server logfile that register the requests, nothing happens.
>
> My sample is !
>
> WITH OBJECT TInternet():New()
> IF :Open()
> :Connect( "http://pc_mario/" )
> hData := :PostRequest( "//Displays.asmx/SendToDisplaysCPC" ,
> " GroupID=1&ServiceID=1&ClientID=1&Ticket=A22& Description= " )
> :CloseRequest( hData )
> :Close()
> ENDIF
> END
>
>
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

TInternet ???

Mensaje por pjmfelix »

Ok !! i already solve the problem.
It's OpenURL() and not RequestPost().
Regards.
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escreveu na mensagem
news:[email=473430ba@ozsrv2.ozlan.local...]473430ba@ozsrv2.ozlan.local...[/email]
> Hi all,
> i try to do a request to a web server with this sample code, but in the
> server logfile that register the requests, nothing happens.
>
> My sample is !
>
> WITH OBJECT TInternet():New()
> IF :Open()
> :Connect( "http://pc_mario/" )
> hData := :PostRequest( "//Displays.asmx/SendToDisplaysCPC" ,
> " GroupID=1&ServiceID=1&ClientID=1&Ticket=A22& Description= " )
> :CloseRequest( hData )
> :Close()
> ENDIF
> END
>
>
Responder