User Tools

Site Tools


утилита_curl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
утилита_curl [2025/06/21 09:33]
val [Примеры использования]
утилита_curl [2025/06/23 11:35] (current)
val [Примеры использования]
Line 17: Line 17:
 $ curl -x gate:3128 https://​ya.ru #-v $ curl -x gate:3128 https://​ya.ru #-v
  
-curl "​http://​localhost:​8088/​rawman?​action=login&​username=zabbix&​secret=zabbix" -c cookies.txt +curl "​http://​server.corpX.un:​8088/​rawman?​action=login&​username=admin&​secret=admin" -c cookies.txt 
-curl "​http://​localhost:​8088/​rawman?​action=ping"​ -b cookies.txt +curl "​http://​server.corpX.un:​8088/​rawman?​action=ping"​ -b cookies.txt 
-curl "​http://​localhost:​8088/​rawman?​action=logoff"​ -b cookies.txt+curl "​http://​server.corpX.un:​8088/​rawman?​action=logoff"​ -b cookies.txt
  
 # docker run --rm alpine/curl -sS https://​ya.ru # docker run --rm alpine/curl -sS https://​ya.ru
утилита_curl.1750487616.txt.gz · Last modified: 2025/06/21 09:33 by val