# put

## Usage

```bash
bdy api put|PUT [options] <url>
```

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `url` | Request url (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `-w, --workspace <domain>` | Workspace domain. If url contains {workspace_domain} it will be automatically replaced with provided value. |
| `-p, --project <name>` | Project name. If url contains {project_name} it will be automatically replaced with provided value. |
| `-q, --query <key:val...>` | Provide query param as key:value. Can be used multiple times |
| `-o, --output <filepath>` | Write to file instead of stdout |
| `-d, --data <key:val...>` | HTTP request urlencoded data. To specify file use @path/to/file format in value |
| `-j, --json <json>` | HTTP request json data. To specify file containing json use @path/to/file format in value |
| `-f, --form <key:val...>` | HTTP request multipart data. Can be used multiple times. To specify file use @path/to/file format in value |
| `-h, --help` | display help for command |


---
Original source: https://buddy.works/docs/cli/api/put