PUT to resource

Issue #10

- PUT now works.
- Same as POST, one-dimensional for now