Open jbfaden opened 2 years ago
Bob provided the URL https://sscweb.gsfc.nasa.gov/WebServices/REST/restExamples.tar.gz which includes restExamples/sh/locations/requests/themis2.xml. I have a copy of this on my home machine, /home/jbf/ct/hapi/study/2022/sscweb/20220610/restExamples/sh/locations/requests/themis2.xml.
For the SSCWeb server, which I'd put aside while getting ready for the ESAC HAPI server, Bob pointed out that there's a REST API which gives XML responses which I could use to avoid all the overhead of linking in libraries. For example:
curl -H "Content-Type: application/xml" --data-ascii @locations/requests/themis2.xml https://sscweb.gsfc.nasa.gov/WS/sscr/2/locations
posts a request for themis locations data. This talks about the API: https://sscweb.gsfc.nasa.gov/WebServices/REST/