Downloading looker-latest.jar via API (wget example request)

done
normal_priority
reply

(Ben Hizak) #1

Dear Looker,

Could you please provide an example of how to use the looker download API, using curl or wget , (it was not clear whether ‘data’ was raw header, form data, etc.) I’m sorry, I don’t know axios.

Follow up question:
Will the API support downloading of md5sum?

Thank you,


(Izzy) #2

We’re working on getting this officially doc’ed on that page you linked. In the meantime, ask and you shall recieve!

wget -O- --post-data='{"lic": "YOURLOOKERLICENSE", "email": "example.org", "latest":"specific", "specific":"looker-5.24-latest.jar}' --header=Content-Type:application/json "https://apidownload.looker.com/download"
curl -i -X POST -H 'Content-Type: application/json' -d '{"lic": "YOURLOOKERLICENSE", "email": "example.org", "latest":"latest"}' https://apidownload.looker.com/download