Skip to content

Instantly share code, notes, and snippets.

@jtuttas
Created May 26, 2014 12:42
Show Gist options
  • Save jtuttas/7ce1e86ade150af78670 to your computer and use it in GitHub Desktop.
Save jtuttas/7ce1e86ade150af78670 to your computer and use it in GitHub Desktop.
# Login
Invoke-WebRequest "http://192.168.178.29/mmbbsapp/news.php?user=mmbbs&password=mmbbs" -SessionVariable s
# Logout
Invoke-WebRequest "http://192.168.178.29/mmbbsapp/news.php?cmd=logout" -WebSession $s
# Abfrage letzte News
Invoke-WebRequest http://192.168.178.29/mmbbsapp/news.php -WebSession $s
# Abfragen News ab ID
Invoke-WebRequest http://192.168.178.29/mmbbsapp/news.php?id=2 -WebSession $s
# Eintragen einer News
Invoke-WebRequest "http://192.168.178.29/mmbbsapp/news.php?Headline=Überschrift&Text=Dies ist ein Text mit öäü" -WebSession $s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment