CyberAlien
Verified User
Hello,
I tried to call API from skin. Instead of authorization i tried to use cookie from current session (used $_ENV['HTTP_COOKIE']) and of course it didn't work because remote ip is different (i got "HTTP/1.1 401 Unauthorized" in reply).
Is there a way to run API commands from skin without knowing user's password?
I tried to call API from skin. Instead of authorization i tried to use cookie from current session (used $_ENV['HTTP_COOKIE']) and of course it didn't work because remote ip is different (i got "HTTP/1.1 401 Unauthorized" in reply).
Is there a way to run API commands from skin without knowing user's password?