Added test to verify response code in agent feed web service test when headers are not configured plus refracted reusable function to send request without headers