Skip to content

Commit

Permalink
Merge pull request #460 from openvinotoolkit/fix-http-request-action-v2
Browse files Browse the repository at this point in the history
Use `json` instead of `data` parameter in HttpRequestAction
  • Loading branch information
ljcornel authored Jul 8, 2024
2 parents 9cb0aac + 28e81a2 commit 56c6f1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ def __call__(
data = prediction_dict

requests.request(
method=self.method, url=self.url, headers=self.headers, data=data
method=self.method, url=self.url, headers=self.headers, json=data
)
self.log_function(f"HTTP {self.method} request send to `{self.url}`.")

0 comments on commit 56c6f1a

Please sign in to comment.