Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12803

Re: Inertacting with website

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Inertacting with website
Followup-To poster
Date 2020-01-20 07:19 +0100
Message-ID <h8kv37FahrjU1@mid.individual.net> (permalink)
References (8 earlier) <1566855b-6b6d-4cc8-b151-af6f78fd6cd0@googlegroups.com> <r0114s$pk4$1@dont-email.me> <996cf437-18fa-4047-9661-e09e46685d92@googlegroups.com> <r01368$1qs$1@dont-email.me> <4465ee96-1888-47ed-a5e6-4bde4274db63@googlegroups.com>

Followups directed to: poster

Show all headers | View raw


Hi John,

I've used a variation before passing to winHttp:

_oHttp := cHttpEx{ _cAppName, _nPort }
if ! _oHttp:ConnectRemote( _cServerName, _cUserName, _cPassword )
  self:ErrBox( "Error connecting to " + _cServerName )
  _oHttp := null_object
  return ""
endif
	
_oHttp:UserName	:= _cUserName
_oHttp:Password	:= _cPassword
cHeaders := "Accept: */*" + CRLF + ;
  "Content-Type: application/x-www-form-urlencoded" + CRLF + ;
  "Accept-Encoding: gzip, deflate" + CRLF + CRLF
cResult := _oHttp:GetDocumentByForm( _cServerName, cURL, cData,
cHeaders, _nPort )
_oHttp:CloseRemote()

Wolfgang


John Kniewasser wrote:

> Good day to you all,
> 
> Well, I have been going in circles and quickly too!
> 
> I have ordered a copy of CAVO 2.8 patch 4 from the site.
> 
> I now have all prototypes in place to do the http conversation that I
> need to do.
> 
> One problem though is that I really do not know what sequence the
> calls need to be in and the help file provides not much help.
> 
> If any one of you could review what I am trying to do and provide
> some high level guidelines that would be most helpful.
> 
> The task is simple – I need to post a url and then wait for the
> response.
> 
> My thinking is to:
> 
> 1-	Create the cHttp instance,
> 2-	oHttp:ConnectRemote( … ),
> 3-	oHttp:SendRequest( … ),
> 4-	oHttp:GetResponce()
> 
> But for the life of me I cannot make the SendRequest work… 
> 
> Any ideas / hints would be very much appreciated!
> 
> Thank you all and,
> 
> Cheers, JK
> 
> 
> 
> //--------------------------------------------------------------------
> --------------------------------------------------- John Kniewasser
> – IT Officer –Island Tug and Barge Ltd C:604.855.6440  O: 604
> 877.5366
> //--------------------------------------------------------------------
> ---------------------------------------------------



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Inertacting with website James Martin <james@northwoodlumber.com> - 2019-07-06 15:51 -0400
  Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-07-07 06:45 +0200
    Re: Inertacting with website James Martin <james@northwoodlumber.com> - 2019-07-08 06:17 -0400
      Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-07-08 16:47 +0200
        Re: Inertacting with website James Martin <james@northwoodlumber.com> - 2019-07-08 19:50 -0400
          Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-07-09 13:30 +0200
  Re: Inertacting with website jeanphilippe@igsoft.be - 2019-07-09 04:29 -0700
  Re: Inertacting with website jmmicmc@gmail.com - 2019-09-09 15:01 -0700
    Re: Inertacting with website Johan Nel <johan.nel@xsinet.co.za> - 2019-09-10 05:31 +0200
    Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-09-10 09:14 +0200
      Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-09-10 09:36 +0200
        Re: Inertacting with website jmmicmc@gmail.com - 2019-09-10 05:45 -0700
          Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-09-10 16:07 +0200
            Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-25 18:09 -0400
            Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-17 18:22 -0800
              Re: Inertacting with website JohnMartens <martens@tennishulp.info> - 2020-01-18 08:23 +0100
              Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-18 15:21 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-18 18:30 -0800
                Re: Inertacting with website JohnMartens <martens@tennishulp.info> - 2020-01-19 08:40 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-19 00:02 -0800
                Re: Inertacting with website JohnMartens <martens@tennishulp.info> - 2020-01-19 09:15 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-19 18:33 -0800
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-20 07:19 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-20 15:26 -0800
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-21 07:17 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-21 20:01 -0800
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-22 09:17 +0100
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-25 15:48 -0800
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-25 17:25 -0800
                Re: Inertacting with website norbert@kolb.cx - 2020-01-26 02:23 -0800
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-26 16:02 -0800
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-27 19:16 -0800
                Re: Inertacting with website Heraldo Gama <heraldogama@gmail.com> - 2021-10-01 18:58 -0700
                Re: Inertacting with website nk <norbert.k@chello.at> - 2021-10-02 17:51 +0200
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-10-03 12:36 +0200
                Re: Inertacting with website Heraldo Gama <heraldogama@gmail.com> - 2021-10-13 20:27 -0700
                Re: Inertacting with website John Kniewasser <itb.john.kniewasser@gmail.com> - 2020-01-19 18:36 -0800
                Re: Inertacting with website "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-01-20 07:14 +0100
    Re: Inertacting with website nk <norbert.k@chello.at> - 2019-09-10 16:12 +0200
      Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 09:02 -0400
  Re: Inertacting with website Pilks <richardp@lukhozi.co.za> - 2019-09-19 07:54 -0700
    Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 14:06 -0400
      Re: Inertacting with website jeanphilippe@igsoft.be - 2019-09-19 11:23 -0700
        Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 15:35 -0400
        Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 15:36 -0400
          Re: Inertacting with website jeanphilippe@igsoft.be - 2019-09-19 12:55 -0700
    Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-19 15:19 -0400
  Re: Inertacting with website Frans Wauters <info@wautersit.com> - 2019-09-26 07:44 -0700
    Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-09-27 08:10 -0400
  Re: Inertacting with website jeanphilippe@igsoft.be - 2019-09-27 05:24 -0700
    Re: Inertacting with website jmmicmc1 <jmmicmc@gmail.com> - 2019-10-04 07:59 -0400

csiph-web