Created
January 17, 2024 10:08
-
-
Save aborruso/b81d1fc3b4d24ca8afb41f48279a15fc to your computer and use it in GitHub Desktop.
This file contains 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
# esempio di chiamata | |
curl 'https://www.anncsu.gov.it/system/modules/it.gov.sogei.rest/elements/get.json' -X POST \ | |
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0' \ | |
-H 'Accept: application/json, text/javascript, */*; q=0.01' \ | |
-H 'Accept-Language: en-US,en;q=0.5' \ | |
-H 'Accept-Encoding: gzip, deflate, br' \ | |
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \ | |
-H 'X-Requested-With: XMLHttpRequest' \ | |
-H 'Origin: https://www.anncsu.gov.it' \ | |
-H 'Connection: keep-alive' \ | |
-H 'Referer: https://www.anncsu.gov.it/it/consultazione-dellarchivio/ricerca-strade-e-numeri-civici/' \ | |
-H 'Sec-Fetch-Dest: empty' \ | |
-H 'Sec-Fetch-Mode: cors' \ | |
-H 'Sec-Fetch-Site: same-origin' \ | |
--data-raw 'req=%7B%22req%22%3A+%22listaccodocodcom%22%2C%22codcom%22%3A%22G273%22%2C%22progrnaz%22%3A+%22572910%22%2C%22accparz%22%3A+%225%22%7D' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment