|
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/endpoint <<EOF
|
|
{"endpoint":"tcp://127.0.0.1:8532","databases":["mydb1","mydb2"]}
|
|
EOF
|
|
|
|
HTTP/1.1 200 OK
|
|
content-type: application/json; charset=utf-8
|
|
|
|
{
|
|
"result" : true,
|
|
"error" : false,
|
|
"code" : 200
|
|
}
|