liuxiran commented on issue #2485:
URL: https://github.com/apache/apisix/issues/2485#issuecomment-716071919


   @membphis this issue means that:
   * Admin-Api doc says: we can  create a consumer via HTTP POST request which 
can create comsumer id generated by server, but accurately cloud not and return 
the error msg below
   >  {"error_msg":"not supported `POST` method for consumer"}
    
   this error msg wrote in the code: 
https://github.com/apache/apisix/blob/master/apisix/admin/consumers.lua#L105 .
   it means that we did it on purpose,  so what is the reason consumer did not 
support `POST` request?
   
   * other resources in APISIX could support `POST` for creation, so we think 
`consumer` also need it
   
   reopen this issue and looking forward to your reply, thx again:)
   
   


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