idbeta opened a new issue #852:
URL: https://github.com/apache/apisix-dashboard/issues/852
# 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.
```testcase
{
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,
},
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]