Properly handle API responses