/api/materials
COMMON
LOGO
FAVICON
OK
curl -L \ --request POST \ --url '//api/materials' \ --header 'Content-Type: application/json' \ --data '{"type":"COMMON"}'
{ "code": 1, "message": "text", "data": { "id": "text", "filename": "text" }, "success": true }
/api/materials/{id}
curl -L \ --url '//api/materials/{id}'
No body
curl -L \ --request DELETE \ --url '//api/materials/{id}'
{ "code": 1, "message": "text", "data": true, "success": true }