Skip to content

Commit 3315bff

Browse files
RobertLuciandeliahu
authored andcommitted
Use --data-binary option instead of -d for octet-stream curls (#1551)
(cherry picked from commit a8be61c)
1 parent 60a504f commit 3315bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/deployments/realtime-api/predictors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ The `payload` parameter type will be a `bytes` object if a request with a `Conte
509509
```bash
510510
$ curl http://***.amazonaws.com/my-api \
511511
-X POST -H "Content-Type: application/octet-stream" \
512-
-d @file.bin
512+
--data-binary @file.bin
513513
```
514514

515515
The `payload` parameter type will be a `bytes` object if a request doesn't have the `Content-Type` set:

0 commit comments

Comments
 (0)