From e6a08584c05579e5ff0dedf6ca8f6d7ae57dcdc5 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Fri, 16 Feb 2024 04:35:37 +0000 Subject: [PATCH] Update README.md thanks @kimboslice99 --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index b5208fc..38526fc 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,17 @@ response = requests.post(url, headers=headers, json=data) print(response.text) ``` +Example PowerShell request: +```ps1 +$body = @{ + cmd = "request.get" + url = "http://www.google.com/" + maxTimeout = 60000 +} | ConvertTo-Json + +irm -UseBasicParsing 'http://localhost:8191/v1' -Headers @{"Content-Type"="application/json"} -Method Post -Body $body +``` + ### Commands #### + `sessions.create`