how to get server name in REST api?

Is there a way to get the server name in a REST api method I am exposing?

The name of the server the REST API is running on you mean?


Hi Jason,

If you use the GetURL function that is in the HTTPRequestHandler extension, that should let you do what you want.