add noInput exception and listener (throw an exception if no json input is set on request)