Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
arangosh を使用してデータベースで認証する方法の例を見てきましたが、http API を介して認証する方法に関するドキュメントは見つかりませんでした。これは可能ですか?それは次のようなものですか:
http://username:passwd@arangouri.com:8529/_api/document
コマンドラインから、次のようにして HTTP 基本認証をサーバーに渡すことができます。
curl --basic --user "username:passwd" -X GET http://arangouri.com:8529/_api/document/...
上記の例は curl の場合です。他の HTTP クライアントを使用している場合は、HTTP 基本認証のユーザー名とパスワードを設定するためのオプションを見つけて、サーバーに送信する必要があります。