POST, PUT and DELETE work properly