username:password
Authorization: Basic *****************
{
"name": "string",
"parentID": 0,
"type": 0,
"path": "string",
"component": "string",
"icon": "string",
"redirect": "string",
"order": 0,
"hideInMenu": 0
}
curl --location --request POST 'http://42.193.250.251:7777/api/v1/system/menu/create' \
--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",
"parentID": 0,
"type": 0,
"path": "string",
"component": "string",
"icon": "string",
"redirect": "string",
"order": 0,
"hideInMenu": 0
}'
{
"code": 0,
"msg": "success"
}