check_for_warnings function

Check if httr GET result contains a warning