## Posts a file to Binary Storage `cloudforce_one.binary_storage.create(BinaryStorageCreateParams**kwargs) -> BinaryStorageCreateResponse` **post** `/accounts/{account_id}/cloudforce-one/binary` Posts a file to Binary Storage ### Parameters - `account_id: str` Account ID. - `file: FileTypes` The binary file content to upload. ### Returns - `class BinaryStorageCreateResponse: …` - `content_type: str` - `md5: str` - `sha1: str` - `sha256: str` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) binary_storage = client.cloudforce_one.binary_storage.create( account_id="account_id", file=b"Example data", ) print(binary_storage.content_type) ``` #### Response ```json { "content_type": "text/plain", "md5": "5d84ade76d2a8387c81175bb0cbe6492", "sha1": "9aff6879626d957eafadda044e4f879aae1e7278", "sha256": "0000a7f2692ef479e2e3d02661568882cadec451cc8a64d4e7faca29810cd626" } ```