Made changes to accept response from server

Steps -
Revert "Made changes to accept response from server"

This reverts commit e77472716f41bb234c614ae4b28da488ced10173.