for now, allow insert-statement only in post handler and replace-statement only in put handler