GET URL

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
chrisjx2002
Posts: 192
Joined: Wed Jan 06, 2010 5:39 pm

GET URL

Post 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
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: GET URL

Post 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'.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
chrisjx2002
Posts: 192
Joined: Wed Jan 06, 2010 5:39 pm

Re: GET URL

Post by chrisjx2002 »

Thanks for your answer. I have found what I was looking for in the forum very easily.

Regards
Post Reply