1
0
Fork 0
arangodb/Documentation/Examples/JSON_16_fetchroutingEchoReq...

42 lines
966 B
Plaintext

arangosh> arango.GET("/echo")
{
"request" : {
"user" : null,
"database" : "_system",
"url" : "/echo",
"protocol" : "http",
"server" : {
"address" : "127.0.0.1",
"port" : 35246
},
"client" : {
"address" : "127.0.0.1",
"port" : 7051,
"id" : "11"
},
"internals" : {
},
"headers" : {
"accept-encoding" : "deflate",
"authorization" : "Basic cm9vdDo=",
"connection" : "Keep-Alive",
"content-length" : "0",
"host" : "127.0.0.1",
"user-agent" : "ArangoDB"
},
"requestType" : "GET",
"parameters" : {
},
"cookies" : {
},
"compatibility" : 20700,
"urlParameters" : {
}
},
"options" : {
}
}
arangosh> db._query("FOR route IN _routing FILTER route.url == '/echo' REMOVE route in _routing")
[object ArangoQueryCursor, count: 0, hasMore: false]
arangosh> require("internal").reloadRouting()