Do not pass optional header param when there is no user input in try
operation form

Fixed #249