Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi there,
Is there anyway to get the host (<protocol>://<domain>:<port>, i.e. https://server.provider.domain:8888) or hostname (the same without the port) of the server directly in a service written in Javascript in TW ?