farmOS / farmOS.js

A JavaScript library for working with farmOS data structures and interacting with farmOS servers.
MIT License
17 stars 13 forks source link

Test .send() methods for areas & assets #5

Closed jgaehring closed 3 years ago

jgaehring commented 5 years ago

These methods need more rigorous testing to be sure they will behave as expected and don't have any unforseen bugs.

It would also be nice to make sure that the .send() method is returning a uniform response whether it's a PUT or POST request under the hood. This is what we're doing already for log.send(); we doctor the response a little on PUT requests to make sure an id and uri are being returned in the response, just like in the POST request.

jgaehring commented 3 years ago

Closing in favor of 2.x development.