One of the things I find myself doing a lot is temporarily disabling my Pi-hole. Either I can't figure out what rule is blocking something I need, or I don't want to permanently whitelist a thing. So I often visit my Pi-hole's webpage, log in, disable for 30 seconds, then do the thing I need to do (usually this is clicking on "unsubscribe" in emails).
I would love to make a widget on my desktop and phone that does this for me with a single click. To do so, an HTTP REST API would be ideal, but I can only find some docs about a telnet API. Is there an HTTP REST option?