dont add input field for non-POST endpoints