3 ms·
Neat! Couple of nits, though, if anyone from Tesla is reading: - Wish it used OAuth or some other revocable token mechanism. What if I lose my device? Sell the
by onethumb 14y ago
Neat! Couple of nits, though, if anyone from Tesla is reading:
- Wish it used OAuth or some other revocable token mechanism. What if I lose my device? Sell the car? Get a divorce? etc..
- GET for things that change state? Looks like these are all idempotent, so they should be PUT.
- Versioning might be nice. :)
Still, progress! Clean API over HTTP that returns easy-to-parse JSON for a car = win.