mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-18 03:43:39 +00:00
Advanced Hunting - Fix code samples after WDATP service change
This commit is contained in:
@ -74,7 +74,7 @@ headers = {
|
||||
'Authorization' : "Bearer " + aadToken
|
||||
}
|
||||
|
||||
data = json.dumps(query).encode("utf-8")
|
||||
data = json.dumps({ 'Query' : query }).encode("utf-8")
|
||||
|
||||
req = urllib.request.Request(url, data, headers)
|
||||
response = urllib.request.urlopen(req)
|
||||
|
Reference in New Issue
Block a user