Hi, I am trying to display some simple stats from the pihole api on an adafruit ssd1306 oled screen that is attached to my pizerow. I have ensured the screen works, and now am running into an issue where I cannot access the API from the pizerow that pihole is actively running on. The FTL and LightTPD services are active and on the appropriate ports, I have changed my DNS settings to allow all requests, privacy level is 0, I have tried accessing the API using different URLs, different hostnames, with and without the API token. I have verified that the API is up and running using Postman, and it allows me to connect to the API and see all the relevant stats. However, when I attempt to connect to the API using curl -vs and then the api url, with or without the token, it simply returns the status of the webserver, and two brakcets and nothing else, when it should be displatying like this "domains_being_blocked": 152449,
"dns_queries_today": 11832,
"ads_blocked_today": 743,
"ads_percentage_today": 6.279581,
"unique_domains": 2812,
"queries_forwarded": 9642,
"queries_cached": 1287,
"clients_ever_seen": 2,
"unique_clients": 2,
"dns_queries_all_types": 11832,
I'm at a loss here, I have been googling this issue for days with no real luck. Closest I've come to a solution is a reddit thread where someone was having the same issue, they said that they had solved it but then of course they never posted the solution, and the thread is nearly 5 years old now.
Details about my system:
Raspberry Pi Zero W w/ Adafruit SSD1306 OLED display
What I have changed since installing Pi-hole:
set static ip, set dns settings, set web interface settings, tried forwarding port 80 w/ no luck, re-configured static ip because it did not take the first time.