imjoey opened a new issue #2485:
URL: https://github.com/apache/apisix/issues/2485


   ### Issue description
   
   As described in [Admin 
API](https://github.com/apache/apisix/blob/master/doc/admin-api.md#consumer), 
we could emit a `POST` request to `/apisix/admin/consumers` to create a new 
consumer. While actually, we could only get a response with `405 Not Allowed`. 
The source code also shows POST is not supported for consumers, see 
https://github.com/apache/apisix/blob/master/apisix/admin/consumers.lua#L105 .
   
   Except consumer, all other resources have good support for `POST` method for 
creation. So may I ask that why not for consumer? Any feedback is welcome. 
Thanks.
   
   
   


----------------------------------------------------------------
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]


Reply via email to