- Alex Peters
- PowerServer
- Wednesday, 23 February 2022 02:44 PM UTC
Hello!
I have a probably small problem .
I would like to get the url of the WebAPI of my PowerServer application. Reason is that I would like to access the PowerServer Management APIs of my application in my application.
Unfortunately I can't find a suitable method in the documentation and the examples always use a fixed url. The application itself knows the WebAPI url, so I assume that I can query it somehow and I just haven't found the appropriate method yet.
I mean the URL, which the customer will get later via command line
dotnet CustomizeDeploy.dll -url=https://172.16.100.71:5009 <-- Url of the WebAPI
so I can use it to build for example the URL "[https://172.16.100.71:5009]/api/Session/LoadAll"" in my application without having to enter it there again.
Thank you in advance
Alex
Samples from APIs that i want to access from the Application itself.
https://docs.appeon.com/ps2021/Get_Kill_user_sessions.html
https://docs.appeon.com/ps2021/View_the_API_documentation.html
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.