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`