PUT and POST should be handled in the same way