I am trying to add redirect to domain as it is possible at ".../frontend/paper_lantern/mime/redirect.html".I can not figure out how t do it with cPanel API 2 and the WHM API 1 .
Hi cPanelMichael
How to call that API from client code at another server. I have search for authen to call UAPI but can not implement with Python.
I want call Mine:add_redirect and tried authen via API Token, User-Password, but just on WHM, can not authen via port 2083 to call api from applist.
Can you give me any advise or reference.
It solved, I create_user_session with fake account, and it false
"You cannot create a session for the user “fake account” because they do not exist."
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.