What I’m attempting:
There’s a site (NASA ModelWeb) where one can access online models for Earth’s atmosphere (among many other models). I’m writing code to access this to create an atmospheric profile [number density of various constituents vs. height] which would be scraped from the results page into a DataFrame for further use. The process involves submitting a form with all the particulars of the run, receiving the response (which contains a URL to the generated data) and finally, pulling the data off that URL and into my code.
For reference, here’s the link… NRL MSISE-00
So… all the standard examples of doing a POST to submit form data in HTTP.jl describe using a Dict to populate the form data.
However, since part of the form is a set of multiple check boxes, the outgoing form data (as revealed by Chrome developer tools) looks like:
Since that would require a Dict with multiple values associated with single key, the paradigm of staging the form data to be submitted by using a Dict poses a bit of a problem.
Has anyone tackled this & solved it?
Alternatively, is there a data structure that maybe my relative noobness in Julia hasn’t encountered yet which would solve this?
Thanks in advance!