Dude, I feel you. `curl pass file object` can be tricky. Your command is almost there! If the server expects a specific field name, just replace `"file"` with whatever they want. For example:
```bash
curl -F "payload=@path/to/file.json" https://example.com/upload
```
Also, if you’re sending JSON, you might wanna specify the type like this:
```bash
curl -F "file=@path/to/file.json;type=application/json" https://example.com/upload
```
Good luck!
```bash
curl -F "payload=@path/to/file.json" https://example.com/upload
```
Also, if you’re sending JSON, you might wanna specify the type like this:
```bash
curl -F "file=@path/to/file.json;type=application/json" https://example.com/upload
```
Good luck!
