Tested posting, it works with the api, need to fix getting, add closing function, and then handle flow control