Look at the source, this is an example of using HTTP Get with params. It uses the Fetch API
Where do you want to know about sunset/sunrise
Latitude
Longitude