Hey, I'm trying to catch a CSP page output through the %Net.HttpRequest
class and I would like to know if is there a way I can dynamically get the
server address so that the following code would work:

Set http = ##class(%Net.HttpRequest).%New()
 Set http.Server=pHttpServer

That is withing a method. What should I put on the CSP page so that the
pHttpServer parameter always point to the application's web server? The page
I want to catch output is on the same server as the page that calls the
method.


[]s
Fabio



Reply via email to