Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl --data-urlencode 'userName=tutu&password=xx' 'https://thesite/api/login?noCacheDummyValue=1459356436185' -X POST
- -H 'Host: thesite' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0'
- -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.7,fr-FR;q=0.3'
- -H 'Accept-Encoding: gzip, deflate, br' -H 'X-Requested-With: XMLHttpRequest'
- -H 'Content-Type: application/json;charset=utf-8' -H 'Referer: https://thesite/mobile/app/app.html'
- -H 'Content-Length: 44' -H 'Cookie: JSESSIONID=qhs02mfeip2p1n5n4t2rj1huu'
- sh myproj.sh
- curl: (52) Empty reply from server
- curl 'https://thesite/api/data/1036493/heatEnergy/today?noCacheDummyValue=1459356438440'
- -H 'Host: thesite' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0'
- -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en-US,en;q=0.7,fr-FR;q=0.3'
- -H 'Accept-Encoding: gzip, deflate, br' -H 'X-Requested-With: XMLHttpRequest'
- -H 'Referer: https://thesite/mobile/dashboard/dash.html' -H 'Cookie: JSESSIONID=qhs02mfeip2p1n5n4t2rj1huu'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement