Skip to content

Commit b2d5fe2

Browse files
author
Robert Diers
committed
use data-binary
1 parent 9169238 commit b2d5fe2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Let's take an example with an input file and the test case:
3838
Here are the commands to upload them (please use --data-binary if you want to keep new lines):
3939
```
4040
curl -X POST "http://localhost:50000/upload/file/<testid>/myfile1.txt" -H "accept: */*" -H "Content-Type: text/plain" --data-binary @myfile1.txt && echo
41-
curl -X POST "http://localhost:50000/upload/test" -H "accept: */*" -H "Content-Type: application/json" -d @test1.json && echo
41+
curl -X POST "http://localhost:50000/upload/test" -H "accept: */*" -H "Content-Type: application/json" --data-binary @test1.json && echo
4242
```
4343

4444
Injects could be triggered by:

0 commit comments

Comments
 (0)