Decode the response.