Switch POST/PUT for creation and update requests