mikemucc / screenlogic-api

API to control a pentair Screenlogic. Built on top of parnic's screenlogic-node library.
Apache License 2.0
9 stars 2 forks source link

Cannot GET /api/pool/on #18

Closed ivanvach closed 1 year ago

ivanvach commented 1 year ago

I'm getting this response

Cannot GET /api/pool/on

when trying

/api/pool/on at the same time /api/all does work, which means that the IP address and port are correct and the app is running.
mikemucc commented 1 year ago

That is because/api/pool/on is not a valid route for a GET request.

According to the readme, /api/pool/on is only valid as a PUT request.