refactoring, add methods for Condition to specify send it in body or query