Simplest ways of getting CSV headers from URL

I’ve built a web-app that allows users to upload contacts using CSV files, and I’d like them to be able to map the CSV header fields to the app’s fields.

The issue I’m facing is that I’m trying to figure out an efficient and simple way to return a list of CSV headers from a CSV link, ideally as an HTTP request or using JavaScript.

For example, this is a CSV of hurricane counts:
https://people.sc.fsu.edu/~jburkardt/data/csv/hurricanes.csv

The headers are:

Month, "Average", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015"

I’ve had the idea to write a Python script that does this, then run it as an API using AWS Lambda.

Is there another way to get this done faster or without the setup?