Created
March 27, 2020 18:33
-
-
Save ssullivan/e56ddbcd5989c573c7d4f8ef7240a9fc to your computer and use it in GitHub Desktop.
Locator Example Curl
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://findtreatment.samhsa.gov/locatorExcel' \ | |
| -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0' \ | |
| -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' \ | |
| -H 'Accept-Language: en-US,en;q=0.5' \ | |
| --compressed \ | |
| -H 'Content-Type: multipart/form-data; boundary=---------------------------11366494723913231758399599945' \ | |
| -H 'Origin: https://findtreatment.samhsa.gov' \ | |
| -H 'Connection: keep-alive' \ | |
| -H 'Referer: https://findtreatment.samhsa.gov/locator' \ | |
| -H 'Cookie: _ga=GA1.2.646319725.1548901673' \ | |
| -H 'Upgrade-Insecure-Requests: 1' \ | |
| -H 'TE: Trailers' \ | |
| --data-binary $'-----------------------------11366494723913231758399599945\r\nContent-Disposition: form-data; name="sAddr"\r\n\r\n39.2369558,-76.79135579999999\r\n-----------------------------11366494723913231758399599945\r\nContent-Disposition: form-data; name="sType"\r\n\r\nBOTH\r\n-----------------------------11366494723913231758399599945\r\nContent-Disposition: form-data; name="page"\r\n\r\n1\r\n-----------------------------11366494723913231758399599945\r\nContent-Disposition: form-data; name="sortIndex"\r\n\r\n0\r\n-----------------------------11366494723913231758399599945--\r\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment