changed from POST to PUT and removed  path
updated readme
improved error handling and /img requests