Skip to content

Commit

Permalink
Allow POST HTTP method (#726)
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Hellen <ianhelle@microsoft.com>
  • Loading branch information
2xyo and ianhelle committed Oct 26, 2023
1 parent 5df8adc commit dec8512
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions msticpy/context/tiproviders/ti_http_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ def lookup_ioc(
response = self._httpx_client.get(
**req_params, timeout=get_http_timeout(**kwargs)
)
elif verb == "POST":
response = self._httpx_client.post(
**req_params, timeout=get_http_timeout(**kwargs)
)
else:
raise NotImplementedError(f"Unsupported verb {verb}")

Expand Down

0 comments on commit dec8512

Please sign in to comment.