Bug fix for communicating with server - was using POST method, should be using PUT method.