MCPcopy
hub / github.com/anthropics/anthropic-sdk-python / post

Method post

src/anthropic/_base_client.py:1470–1480  ·  src/anthropic/_base_client.py::SyncAPIClient.post
(
        self,
        path: str,
        *,
        cast_to: Type[ResponseT],
        body: Body | None = None,
        content: BinaryTypes | None = None,
        options: RequestOptions = {},
        files: RequestFiles | None = None,
        stream: Literal[False] = False,
    )

Source from the content-addressed store, hash-verified

1468
1469 @overload
1470 def post(
1471 self,
1472 path: str,
1473 *,
1474 cast_to: Type[ResponseT],
1475 body: Body | None = None,
1476 content: BinaryTypes | None = None,
1477 options: RequestOptions = {},
1478 files: RequestFiles | None = None,
1479 stream: Literal[False] = False,
1480 ) -> ResponseT: ...
1481
1482 @overload
1483 def post(

Calls 3

requestMethod · 0.95
to_httpx_filesFunction · 0.85
constructMethod · 0.45