Hello, I am working on making an app for showing moon phases and tides. The tides are supposed to come from an API offered by noaa, and noaa requires a header with the given API key to be included in the program for access to the data. However, in the documentation for startWebRequest(url, callback) for the data request did not include how to use a header, even though noaa.org was listed as an accepted source. What is the best way to include a header, if possible?
Here is a link to the API documentation for the noaa API: https://www.ncdc.noaa.gov/cdo-web/webservices/v2#gettingStarted