goecharger / go-eController-API

API specification for go-eController
9 stars 1 forks source link

Request for local HTTP API V3. Make local HTTP API more conform to the best practices. #11

Open ai91 opened 7 months ago

ai91 commented 7 months ago

It's a great product, with rich features. Unfortunately some aspects don't really follow best practice. For example see https://github.com/goecharger/go-eController-API/issues/10. Another issue is usage GET requests for all non-idempotent requests and non-safe requests.

Suggestion: make all write-methods as POST/PUT requests. More info: https://nordicapis.com/understanding-idempotency-and-safety-in-api-design/