Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.09k stars 217 forks source link

Issues getting it to run #163

Closed vivinano closed 2 years ago

vivinano commented 2 years ago

Hey I'm unsure what I'm doing I tried to get it working I have the browser version working but wanted to use this one going but seem to be hitting error

Like no http in curl can someone please help ?

malle-pietje commented 2 years ago

Please share more details such as your actual code, exact error messages, output with debug enabled, etc.

vivinano commented 2 years ago

I fixed it the issue was that I didn't add

The HTTPS://

When I was configuring my $controllerurl

Ex: I put 192.168.1.1 which gave me a php warning and no results But Adding the https:// in front of the url resolved these warning and gave me results

malle-pietje commented 2 years ago

👍