Page 1 of 1

GET URL

Posted: Mon Jan 11, 2010 2:18 pm
by chrisjx2002
Hello,

Recently I have a problem using GET URL

OPEN CONNECTION cWeb SERVER cAd_Server PORT 80 HTTP
GET URL cAddress TO Response CONNECTION cWeb
CLOSE CONNECTION cWeb

I have an error message :

Error BASE/1004 No exported method: GET
Called from GET(0)

This was working in old HMG version.

Any idea?

Regards

Chris

Re: GET URL

Posted: Mon Jan 11, 2010 2:44 pm
by Roberto Lopez
chrisjx2002 wrote:Hello,

Recently I have a problem using GET URL

OPEN CONNECTION cWeb SERVER cAd_Server PORT 80 HTTP
GET URL cAddress TO Response CONNECTION cWeb
CLOSE CONNECTION cWeb
<...>
Such commands are not supported anymore.

Those were based on socket library by Mateo Baccan, not included in HMG anymore.

Please, use HBTIP Harbour contribution library instead.

There are various samples and comments posted here in the forum. Please do a search for 'HBTIP'.

Re: GET URL

Posted: Mon Jan 11, 2010 5:30 pm
by chrisjx2002
Thanks for your answer. I have found what I was looking for in the forum very easily.

Regards