ApiPresenter: fixed post/put/patch condition