mirror of https://gitee.com/bigwinds/arangodb
use `--data-binary` instead of `--data` in curl examples
This commit is contained in:
parent
e1dd2cb4db
commit
1dd385f52d
|
@ -209,7 +209,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (body !== undefined && body !== "") {
|
if (body !== undefined && body !== "") {
|
||||||
curl += "--data @- ";
|
curl += "--data-binary @- ";
|
||||||
}
|
}
|
||||||
|
|
||||||
curl += "--dump - http://localhost:8529" + url;
|
curl += "--dump - http://localhost:8529" + url;
|
||||||
|
|
|
@ -209,7 +209,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (body !== undefined && body !== "") {
|
if (body !== undefined && body !== "") {
|
||||||
curl += "--data @- ";
|
curl += "--data-binary @- ";
|
||||||
}
|
}
|
||||||
|
|
||||||
curl += "--dump - http://localhost:8529" + url;
|
curl += "--dump - http://localhost:8529" + url;
|
||||||
|
|
Loading…
Reference in New Issue