set response text before request