Forum Discussion
edward_garza
Employee
2 days ago"setHTTPProxy" is an object method for the instantiated object, which in this case, the instantiated object is "httpClient".
You need to instantiate the object first, then you can invoke methods on that instantiated object.
The correct usage would be as follows:
httpClient = HTTP.open(externalHost,443); <-- instantiating the "httpClient" object
httpClient.setHTTPProxy("proxy name",8080); <--invoking the "setHTTPProxy" object method on the instantiated "httpClient" object