1
0
Fork 0

use `--data-binary` instead of `--data` in curl examples

This commit is contained in:
Jan Steemann 2014-01-03 12:12:54 +01:00
parent e1dd2cb4db
commit 1dd385f52d
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@
}
if (body !== undefined && body !== "") {
curl += "--data @- ";
curl += "--data-binary @- ";
}
curl += "--dump - http://localhost:8529" + url;

View File

@ -209,7 +209,7 @@
}
if (body !== undefined && body !== "") {
curl += "--data @- ";
curl += "--data-binary @- ";
}
curl += "--dump - http://localhost:8529" + url;