NetTalk Central
The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: Alberto on May 16, 2015, 04:19:27 AM
-
Hi,
Doing a net.post() I'm getting an error:
Hostname or Port are not set to anything. (You must call self.open first). NetSimple.Send
I have another similar procedure without problem, ehat cait be?
What means "call self.open"? NetClient does not have an open method.
Thanks
-
>> NetClient does not have an open method.
NetClient doesn't have a POST method either - so I'm guessing you mean NetWebClient.
NetWebClient does have an OPEN method - it's in NetSimple and called for you when you do the POST.
The first parameter of the POST contains the URL and port number - in your note you don't use a parameter, but are you in fact calling it with one?
cheers
Bruce