Last active
October 30, 2019 08:15
-
-
Save michimau/974896bc669eea5e1e15eb9f7e1cd36e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'https://staging-eunis.eea.europa.eu/login.jsp' \ | |
-H 'Origin: https://staging-eunis.eea.europa.eu' \ | |
-H 'Content-Type: application/x-www-form-urlencoded' \ | |
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3' \ | |
-H 'Referer: https://staging-eunis.eea.europa.eu/login.jsp' \ | |
-H 'Accept-Encoding: gzip, deflate, br' \ | |
--data 'cmd=login&username=USERNAME&password=PASSWOED&Submit=EUNIS+Login' \ | |
--compressed \ | |
-c /tmp/eunis-cokie \ | |
-o /tmp/login.html | |
curl -b /tmp/eunis-cokie https://staging-eunis.eea.europa.eu/dataimport/services.jsp -o /tmp/services.html | |
curl -b /tmp/eunis-cokie https://staging-eunis.eea.europa.eu/dataimport/importcdda.jsp -o /tmp/importcdda.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment