Added logic in httpgetMatt to handle response