We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e53eab5 commit 2177b17Copy full SHA for 2177b17
end_to_end_tests/golden-record/my_test_api_client/api/tests/post_tests_json_body_string.py
@@ -20,6 +20,7 @@ def _get_kwargs(
20
json_json_body = json_body
21
22
return {
23
+ "method": "post",
24
"url": url,
25
"headers": headers,
26
"cookies": cookies,
@@ -67,7 +68,7 @@ def sync_detailed(
67
68
json_body=json_body,
69
)
70
- response = httpx.post(
71
+ response = httpx.request(
72
verify=client.verify_ssl,
73
**kwargs,
74
@@ -115,7 +116,7 @@ async def asyncio_detailed(
115
116
117
118
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
- response = await _client.post(**kwargs)
119
+ response = await _client.request(**kwargs)
120
121
return _build_response(response=response)
122
0 commit comments