建立 User

[
   {
      "_id":"_user",
      "username":"jack",
   },
   {
      "_id":"_user",
      "username":"john",
   }
]

cURL 指令如下:

# Linux
curl -H "Accept: application/json" -X POST -d '[ { "_id":"_user", "username":"jack" }, { "_id":"_user", "username":"john" } ]' <http://13.114.145.25/fdb/seedao/testing/transact>

# Windows
curl -H "Accept: application/json" -X POST -d "[ { \\"_id\\":\\"_user\\", \\"username\\":\\"jack\\"},{\\"_id\\":\\"_user\\",\\"username\\":\\"john\\"}]" <http://13.114.145.25/fdb/seedao/testing/transact>

建立完成之后,我们就可以到 Fluree 中去看 Permissions 中的 Users:

Untitled