Updated http call in client

I am adding a method to delete users - which only respond with status codes and no HTTP body. This would throw a json exception, so I added a case to catch the JSON exception nicely