username:password
Authorization: Basic *****************
{
"name": "string",
"path": "string"
}
curl --location --request POST 'http://42.193.250.251:7777/api/v1/system/menu/index' \
--header 'role;' \
--header 'iThings-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVaWQiOiIxNzY2MjUyMTY2OTI5NjEyODAwIiwiUm9sZSI6NSwiSXNBbGxEYXRhIjoyLCJleHAiOjE2ODcwMTUyMDYsImlhdCI6MTY4NzAwOTMxMn0.xxFiBpYlTIDLYhN-_stlrmYGOLqF-wHJKBSqs-zVb8k' \
--header 'iThings-project-id: 123123123' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"name": "string",
"path": "string"
}'
{
"total": 3,
"data": [
{
"id": 1,
"name": "称十斗已太",
"parentID": 55,
"type": 7,
"path": "ullamco ad quis Lorem",
"component": "veniam magna",
"icon": "http://dummyimage.com/100x100",
"redirect": "tempor ullamco esse adipisicing Excepteur"
},
{
"id": 2,
"name": "着五日",
"parentID": 15,
"type": 1,
"path": "cupidatat reprehenderit laborum",
"component": "ut aute ad nostrud",
"icon": "http://dummyimage.com/100x100",
"redirect": "mollit quis"
},
{
"id": 3,
"name": "山点所形看世",
"parentID": 20,
"type": 45,
"path": "Excepteur Lorem",
"component": "sed Excepteur aliqua",
"icon": "http://dummyimage.com/100x100",
"redirect": "ut do dolor commodo"
}
]
}