Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12552 > unrolled thread
| Started by | James Martin <james@northwoodlumber.com> |
|---|---|
| First post | 2019-07-06 15:51 -0400 |
| Last post | 2019-10-04 07:59 -0400 |
| Articles | 20 on this page of 51 — 13 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
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
Page 1 of 3 [1] 2 3 Next page →
| From | James Martin <james@northwoodlumber.com> |
|---|---|
| Date | 2019-07-06 15:51 -0400 |
| Subject | Inertacting with website |
| Message-ID | <qfqu47$cq8$1@dont-email.me> |
I'm just wondering whether it is possible to log into a website and get information as if you were getting it via a browser. For example we now get an item's price by oing to a website, entering in the item number and the price is shown. I want to do this from within a VO program. It is possible. The website is https. James
[toc] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2019-07-07 06:45 +0200 |
| Message-ID | <godbnbF5ncuU1@mid.individual.net> |
| In reply to | #12552 |
Hi James, > I'm just wondering whether it is possible to log into a website and > get information as if you were getting it via a browser. For example > we now get an item's price by oing to a website, entering in the item > number and the price is shown. I want to do this from within a VO > program. It is possible. The website is https. yes, it is possible. You can use the cHttp class to retrieve the information, but it depends on the website if it is easy to retrieve the information from the returned data. Another (easy) possibility would be to call cUrl (as Windows exe) and read the written file. Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | James Martin <james@northwoodlumber.com> |
|---|---|
| Date | 2019-07-08 06:17 -0400 |
| Message-ID | <qfv57t$8n6$1@dont-email.me> |
| In reply to | #12553 |
Thanks. I'll look into this. Will it work with https? James On 7/7/19 12:45 AM, Wolfgang Riedmann wrote: > Hi James, > >> I'm just wondering whether it is possible to log into a website and >> get information as if you were getting it via a browser. For example >> we now get an item's price by oing to a website, entering in the item >> number and the price is shown. I want to do this from within a VO >> program. It is possible. The website is https. > > yes, it is possible. You can use the cHttp class to retrieve the > information, but it depends on the website if it is easy to retrieve > the information from the returned data. > > Another (easy) possibility would be to call cUrl (as Windows exe) and > read the written file. > > Wolfgang > >
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2019-07-08 16:47 +0200 |
| Message-ID | <goh3c0F2adU1@mid.individual.net> |
| In reply to | #12554 |
Hi James, both should work with https, at least with a correct certificate. Wolfgang James Martin wrote: > Thanks. I'll look into this. Will it work with https? > > James > > On 7/7/19 12:45 AM, Wolfgang Riedmann wrote: > > Hi James, > > > > > I'm just wondering whether it is possible to log into a website > > > and get information as if you were getting it via a browser. For > > > example we now get an item's price by oing to a website, entering > > > in the item number and the price is shown. I want to do this from > > > within a VO program. It is possible. The website is https. > > > > yes, it is possible. You can use the cHttp class to retrieve the > > information, but it depends on the website if it is easy to retrieve > > the information from the returned data. > > > > Another (easy) possibility would be to call cUrl (as Windows exe) > > and read the written file. > > > > Wolfgang > > > > --
[toc] | [prev] | [next] | [standalone]
| From | James Martin <james@northwoodlumber.com> |
|---|---|
| Date | 2019-07-08 19:50 -0400 |
| Message-ID | <qg0ksf$u0h$1@dont-email.me> |
| In reply to | #12555 |
OK. I will check this out when I get time. I was worried that negotiating the certificates would be difficult. James On 7/8/19 10:47 AM, Wolfgang Riedmann wrote: > Hi James, > > both should work with https, at least with a correct certificate. > > Wolfgang > > > James Martin wrote: > >> Thanks. I'll look into this. Will it work with https? >> >> James >> >> On 7/7/19 12:45 AM, Wolfgang Riedmann wrote: >>> Hi James, >>> >>>> I'm just wondering whether it is possible to log into a website >>>> and get information as if you were getting it via a browser. For >>>> example we now get an item's price by oing to a website, entering >>>> in the item number and the price is shown. I want to do this from >>>> within a VO program. It is possible. The website is https. >>> >>> yes, it is possible. You can use the cHttp class to retrieve the >>> information, but it depends on the website if it is easy to retrieve >>> the information from the returned data. >>> >>> Another (easy) possibility would be to call cUrl (as Windows exe) >>> and read the written file. >>> >>> Wolfgang >>> >>> > > >
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2019-07-09 13:30 +0200 |
| Message-ID | <gojc7fFf327U1@mid.individual.net> |
| In reply to | #12556 |
Hi James, > OK. I will check this out when I get time. I was worried that > negotiating the certificates would be difficult. the cHTTP class uses WinInet, practically the inbuilt Internet Explorer engine. cURL comes with its own certificate management. If you have a self signed certificate, you need to modify the cHTTP class to ignore that because otherwise it will not return any data. Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | jeanphilippe@igsoft.be |
|---|---|
| Date | 2019-07-09 04:29 -0700 |
| Message-ID | <ac82e2a9-ad32-4fc4-bb02-980b7d0031b0@googlegroups.com> |
| In reply to | #12552 |
Have a look at curl which provide some exe which can handle any http(s) request and give back http status and more. We use this to manage REST API links. Le samedi 6 juillet 2019 21:51:36 UTC+2, James Martin a écrit : > I'm just wondering whether it is possible to log into a website and get > information as if you were getting it via a browser. For example we now > get an item's price by oing to a website, entering in the item number > and the price is shown. I want to do this from within a VO program. It > is possible. The website is https. > > James
[toc] | [prev] | [next] | [standalone]
| From | jmmicmc@gmail.com |
|---|---|
| Date | 2019-09-09 15:01 -0700 |
| Message-ID | <f0de8906-7587-4f66-ae1b-a764c33be3a5@googlegroups.com> |
| In reply to | #12552 |
On Saturday, July 6, 2019 at 3:51:36 PM UTC-4, James Martin wrote: > I'm just wondering whether it is possible to log into a website and get > information as if you were getting it via a browser. For example we now > get an item's price by oing to a website, entering in the item number > and the price is shown. I want to do this from within a VO program. It > is possible. The website is https. > > James I am now ready to work on this project. Where can I get cHTTP or cUrl. I thought they may be included in the samples, but they are not. knowvo also seems down. James
[toc] | [prev] | [next] | [standalone]
| From | Johan Nel <johan.nel@xsinet.co.za> |
|---|---|
| Date | 2019-09-10 05:31 +0200 |
| Message-ID | <ql75eb$chg$1@dont-email.me> |
| In reply to | #12610 |
James, Look at https://xsharp.info VO/Vulcan is dead On 2019/09/10 00:01, jmmicmc@gmail.com wrote: > On Saturday, July 6, 2019 at 3:51:36 PM UTC-4, James Martin wrote: >> I'm just wondering whether it is possible to log into a website and get >> information as if you were getting it via a browser. For example we now >> get an item's price by oing to a website, entering in the item number >> and the price is shown. I want to do this from within a VO program. It >> is possible. The website is https. >> >> James > I am now ready to work on this project. Where can I get cHTTP or cUrl. I thought they may be included in the samples, but they are not. knowvo also seems down. > > James -- *Johan Nel* FOX member : Friend(s) of XSharp X# Website : https://xsharp.info X# Forums : https://xsharp.info George, South Africa
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2019-09-10 09:14 +0200 |
| Message-ID | <gtp0qsF5gsiU1@mid.individual.net> |
| In reply to | #12610 |
Hi James, > I am now ready to work on this project. Where can I get cHTTP or > cUrl. I thought they may be included in the samples, but they are > not. knowvo also seems down. cURL is an exe program - you can launch it as any other program. cHTTP is a part of the VO Internet classes library. If none of the work, let me know - I have written a VO wrapper around the (newer) WinHttp group of functions. Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2019-09-10 09:36 +0200 |
| Message-ID | <gtp24hF5pt6U1@mid.individual.net> |
| In reply to | #12615 |
Hi James, I forgot: I had already published the winHttp library here: https://riedmann.it/download/winHttp.zip It works very well with https. For a later migration to .NET with X# these classes need to be rewritten based on .NET classes that work better. Wolfgang
[toc] | [prev] | [next] | [standalone]
| From | jmmicmc@gmail.com |
|---|---|
| Date | 2019-09-10 05:45 -0700 |
| Message-ID | <3b50cdc1-3985-4b4e-8f57-9c05244018de@googlegroups.com> |
| In reply to | #12616 |
Thanks. Are there any instructions on how to use this library? I realize that I should be using .NET but was waiting on the runtime for DBFs. I need to get this project done fast so I thought I would do it in VO since it is quite simple. After all the VO interface is really nice. James On Tuesday, September 10, 2019 at 3:36:51 AM UTC-4, Wolfgang Riedmann wrote: > Hi James, > > I forgot: I had already published the winHttp library here: > > https://riedmann.it/download/winHttp.zip > > It works very well with https. > For a later migration to .NET with X# these classes need to be > rewritten based on .NET classes that work better. > > Wolfgang
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2019-09-10 16:07 +0200 |
| Message-ID | <gtpp09Fag67U1@mid.individual.net> |
| In reply to | #12617 |
Hi James,
> Thanks. Are there any instructions on how to use this library?
see here:
oWinHttp := WinHttp{}
oWinHttp:UserAgent := "your application name"
oWinHttp:Username := _cUserName // if needed
oWinHttp:Password := _cPassword // if needed
if oApp:lUseHttps
oWinHttp:IgnoreCert := true
endif
cResult := oWinHttp:GetURL( _cServerName, cURL, dword( _nPort ) )
Wolfgang
--
[toc] | [prev] | [next] | [standalone]
| From | jmmicmc1 <jmmicmc@gmail.com> |
|---|---|
| Date | 2019-09-25 18:09 -0400 |
| Message-ID | <qmgoi3$9c2$1@dont-email.me> |
| In reply to | #12618 |
I am able now with Phantomjs to interact with the website and write the
website in plain text to a file. I can do this at the command line, but
I am not able to run the program from VO.
This is what I am doing:
cCmd := "phantomjs \apps\Martins\James.js " +
AllTrim(SELF:oDCMItemNo:CurrentText)
ShellExecute(SELF:Handle(),PSZ(cCmd),NULL_PSZ,NULL_PSZ,NULL_PSZ,SW_SHOWNORMAL)
It is not running the program, but I can do it from the command line. I
suppose it is because the program and the parameters are together in one
string. Any hints on how to do this?
James
On 9/10/2019 10:07 AM, Wolfgang Riedmann wrote:
> Hi James,
>
>> Thanks. Are there any instructions on how to use this library?
>
> see here:
>
> oWinHttp := WinHttp{}
> oWinHttp:UserAgent := "your application name"
> oWinHttp:Username := _cUserName // if needed
> oWinHttp:Password := _cPassword // if needed
> if oApp:lUseHttps
> oWinHttp:IgnoreCert := true
> endif
> cResult := oWinHttp:GetURL( _cServerName, cURL, dword( _nPort ) )
>
> Wolfgang
>
>
>
[toc] | [prev] | [next] | [standalone]
| From | John Kniewasser <itb.john.kniewasser@gmail.com> |
|---|---|
| Date | 2020-01-17 18:22 -0800 |
| Message-ID | <9709b46f-9e44-4bb4-873d-48dbbc476c99@googlegroups.com> |
| In reply to | #12618 |
Hi Wolfgang, I see that you have some information on the internet API that shipped with CAVO. I am currently running 2.5B3 and my old, old client has an urgent request to post to a REST API. I have already written an ISAPI Extension which receives information from the internet and responds with a status code and populates the application ( very old application but everyone loves it.. ) I am somewhat of a loss as the ISAPI extension responds to IIS queries. This task is somewhat different – this time I need to post to a REST API ( I think I can do the JSON stuff ) and then receive a reply. Do you have any hints or ideas for me? – I would rather not go the ShellExecute way as there is a lot of traffic.. Thank you for anything that you can enlighten me with.. Keep well and, Cheers. JK
[toc] | [prev] | [next] | [standalone]
| From | JohnMartens <martens@tennishulp.info> |
|---|---|
| Date | 2020-01-18 08:23 +0100 |
| Message-ID | <qvubq4$5t7$1@dont-email.me> |
| In reply to | #12792 |
I do not know about the API's you name. For me GetOrPost did the job
when I needed to get info from a webpage.
Does GetOrPost from Norbert not work ?
oHttpA := cHttp{"XML exchange"}
cUrl := "hello.hello.com"
cFolder := "/service/setup.aspx?k="+CMyString
cPostData := MemoRead(CMyXmlINfo)
cHeader := "Accept: *" + "/" + "*" + CrLf + "Man: POSThttp://" +
cUrl + cFolder + " HTTP/1.1" + CrLf + "Content-Type: text/xml;
charset=windows-1252" + CrLf
cPage := oHttpA:GetDocumentByGetOrPost(
cUrl,cFolder,cPostData,cHeader,"POST")
oHttpA:CloseRemote()
oHttpA:Axit()
METHOD GetDocumentByGetOrPost(cIP, cDocument, cData, cHeader, cMethod,
nP, nFlags) CLASS cHttp
***************************************
// GET or POST - that's the question
// Norbert Kolb, 11/17/03, 12/02/04, 09/02/04 02/25/05
// UG Bodensee (A, CH, D, FL)
***************************************
// First the InternetOpen function is called to initialize the
// remaining functions. Then the InternetConnect function is called
// to identify the type of service being requested. This is necessary
// as the same set of functions can be used to interact with a number
// of different servers.
***************************************
LOCAL lResult AS LOGIC
LOCAL nDataLen AS DWORD
LOCAL nBuffer AS DWORD
LOCAL nBufferLen AS DWORD
LOCAL cRet AS STRING
Default(@cDocument, "")
Default(@cData, "")
Default(@cMethod, "GET")
Default(@nP, SELF:nPort)
Default(@nFlags, 0)
IF _AND(DWORD(nFlags), INTERNET_FLAG_SECURE) = INTERNET_FLAG_SECURE
nP := INTERNET_DEFAULT_HTTPS_PORT
SELF:nPort := nP
ENDIF
IF SELF:hSession == NULL_PTR
lResult := SELF:Open(NIL, SELF:cProxy)
ELSE
lResult := .T.
ENDIF
IF lResult
// Identify the type of service that is being accessed
IF SELF:hConnect == NULL_PTR .OR. SELF:cHostAddress <> cIP
SELF:cHostAddress := cIP
SELF:hConnect := InternetConnect(SELF:hSession, ;
String2Psz(SELF:cHostAddress), ;
nP, ;
String2Psz(SELF:cUserName), ;
String2Psz(SELF:cPassword), ;
INTERNET_SERVICE_HTTP, ;
nFlags, ;
0)
ENDIF
IF SELF:hConnect <> NULL_PTR
SELF:__SetStatusObject()
// Once we've identified the service, we need to indicate the
// page to which the data will be posted. In this example, it will
// be "/getorpost.php"
SELF:hRequest := HttpOpenRequest(SELF:hConnect, ; // hConnect
String2Psz(cMethod), ; // lpszVerb
String2Psz(cDocument), ; // pszObjectName
String2Psz("HTTP/1.1"), ; // pszVersion
NULL_PSZ, ; // pszReferer
NULL_PSZ, ; // pszAcceptTypes
nFlags, ; // dwFlags
SELF:__GetStatusContext()) // dwContext
IF SELF:hRequest <> NULL_PTR
SELF:__SetStatus(SELF:hRequest)
// We need to add a header to notify the web server that the
// incoming data is form encoded and then send the request.
IF cMethod == "POST"
IF Empty(cHeader)
cHeader := "Content-Type: application/x-www-form-urlencoded" +
CrLf + HEADER_ACCEPT
ENDIF
ELSE
IF Empty(cHeader)
cHeader := HEADER_ACCEPT
ENDIF
ENDIF
IF HttpAddRequestHeaders(SELF:hRequest, ;
String2Psz(cHeader), ;
SLen(cHeader), ;
HTTP_ADDREQ_FLAG_ADD)
// Sometimes you have to set SECURITY_FLAGS
InternetQueryOption(SELF:hRequest, INTERNET_OPTION_SECURITY_FLAGS,
@nBuffer, @nBufferLen)
nBuffer := _OR(nBuffer, SECURITY_FLAG_IGNORE_UNKNOWN_CA)
InternetSetOption(SELF:hRequest, INTERNET_OPTION_SECURITY_FLAGS,
@nBuffer, nBufferLen)
nDataLen := SLen(cData)
IF HttpSendRequest(SELF:hRequest, ;
NULL, ;
0, ;
PTR(_CAST, cData), ;
nDataLen)
// Finally, we need to collect our reward for all this effort
SELF:GetResponseHeader()
cRet := SELF:GetResponse()
ENDIF // SendRequest
SELF:CloseRequest()
END // AddRequestHeaders
ENDIF
SELF:__DelStatusObject()
ENDIF
ENDIF
RETURN cRet
Op 18-1-2020 om 03:22 schreef John Kniewasser:
> Hi Wolfgang,
>
> I see that you have some information on the internet API that shipped with CAVO.
>
> I am currently running 2.5B3 and my old, old client has an urgent request to post to a REST API.
>
> I have already written an ISAPI Extension which receives information from the internet and responds with a status code and populates the application ( very old application but everyone loves it.. )
>
> I am somewhat of a loss as the ISAPI extension responds to IIS queries.
>
> This task is somewhat different – this time I need to post to a REST API ( I think I can do the JSON stuff ) and then receive a reply.
>
> Do you have any hints or ideas for me? – I would rather not go the ShellExecute way as there is a lot of traffic..
>
> Thank you for anything that you can enlighten me with..
>
> Keep well and,
>
> Cheers. JK
>
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2020-01-18 15:21 +0100 |
| Message-ID | <h8gij2FdaceU1@mid.individual.net> |
| In reply to | #12792 |
Hi John, > I see that you have some information on the internet API that shipped > with CAVO. > > I am currently running 2.5B3 and my old, old client has an urgent > request to post to a REST API. 2.5b3 is very, very, very outdated. And therefore I have no system that is running that version (I have stopped using 2.5 when 2.7 came out). And the code that John Martens gave you may or may not run with 2.5b3 - I don't know that. I'm using in my VO programs the winHttp functions, and they could work also with 2.5b3 because they don't rely on any VO library, but are using the respective API directly - but of course I cannot confirm that as I have no possibility to check it out. A problem of the VO Internet Classes could be that they have been written long before SSL was required everywhere. The winHttp classes don't have any problem with SSL. Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | John Kniewasser <itb.john.kniewasser@gmail.com> |
|---|---|
| Date | 2020-01-18 18:30 -0800 |
| Message-ID | <1566855b-6b6d-4cc8-b151-af6f78fd6cd0@googlegroups.com> |
| In reply to | #12794 |
Hi John, Thank you very much for GetOrPost – really in the right direction for me! One problem remains is that some of the calls ( WinHttpOpenRequest.. etc ) are not prototyped in good old CAVO2.5b3. I found an upgrade to 2.7 but these items are still unresolved.. I found an upgrade path to 2.8V4 at https://www.visualobjects.net/ That is probably the way to go unless you know where I can resolve these calls to Winhttp.dll? Thank you so much for your time! Keep well and, Cheers, JK
[toc] | [prev] | [next] | [standalone]
| From | JohnMartens <martens@tennishulp.info> |
|---|---|
| Date | 2020-01-19 08:40 +0100 |
| Message-ID | <r0114s$pk4$1@dont-email.me> |
| In reply to | #12796 |
I have VO2.8v2 and it works there Hope someone can help you to get on ... Op 19-1-2020 om 03:30 schreef John Kniewasser: > Hi John, > > Thank you very much for GetOrPost – really in the right direction for me! > > One problem remains is that some of the calls ( WinHttpOpenRequest.. etc ) are not prototyped in good old CAVO2.5b3. > > I found an upgrade to 2.7 but these items are still unresolved.. > > I found an upgrade path to 2.8V4 at https://www.visualobjects.net/ > > That is probably the way to go unless you know where I can resolve these calls to Winhttp.dll? > > Thank you so much for your time! > > Keep well and, > > Cheers, JK >
[toc] | [prev] | [next] | [standalone]
| From | John Kniewasser <itb.john.kniewasser@gmail.com> |
|---|---|
| Date | 2020-01-19 00:02 -0800 |
| Message-ID | <996cf437-18fa-4047-9661-e09e46685d92@googlegroups.com> |
| In reply to | #12797 |
Hey! I must take a moment to thank everyone on this forum - thank you! I have placed an order for 2.8 v4 from the suggested site. I really love this language - fast ( close to the metal ) and object oriented.. Little bit worried about what will happen to ADS .. but for the sake of this exercise i only need to write an http interface so, maybe it will work. Found a trial version of 2.8 but there are still some things missing.. What is missing: InternetQueryOption(SELF:hRequest, INTERNET_OPTION_SECURITY_FLAGS, @nBuffer, @nBufferLen) Again, thank you everyone.. Cheers, JK
[toc] | [prev] | [next] | [standalone]
Page 1 of 3 [1] 2 3 Next page →
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web