Added validation to check for CSV content_type and API key in url parameter