Update README.md

thanks @kimboslice99
This commit is contained in:
ilike2burnthing 2024-02-16 04:35:37 +00:00 committed by GitHub
parent df06d13cf8
commit e6a08584c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,6 +115,17 @@ response = requests.post(url, headers=headers, json=data)
print(response.text) 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 ### Commands
#### + `sessions.create` #### + `sessions.create`