Skip to content

Commit 22f75f8

Browse files
authored
Merge pull request carbonblack#159 from carbonblack/fixtranslate
Fixing the GET use in translation of queries
2 parents d105db2 + ba528c5 commit 22f75f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cbapi/psc/threathunter/rest_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def convert_query(self, query):
6161
:rtype: str
6262
"""
6363
args = {"query": query}
64-
resp = self.get_object("/threathunter/feedmgr/v1/query/translate", query_parameters=args)
64+
resp = self.post_object("/threathunter/feedmgr/v1/query/translate", body=args)
6565

6666
return resp.get("query")
6767

0 commit comments

Comments
 (0)