Description
Bug report
Describe the bug
manager-api supported POST
method for consumer.
but it should not support the POST
method for consumer, the same as APISIX's adminapi.
{
caseDesc: "create consumers with post method",
Object: MangerApiExpect(t),
Path: "/apisix/admin/consumers",
Method: http.MethodPost,
Body: `{
"username":"case_9",
"desc": "new consumer",
"create_time": 1602883670,
"update_time": 1602893670
}`,
Headers: map[string]string{"Authorization": token},
ExpectStatus: http.StatusMethodNotAllowed,
},