apisix icon indicating copy to clipboard operation
apisix copied to clipboard

request help:

Open liubinqi2007 opened this issue 6 years ago • 4 comments

Issue description

image Request API to report 403.

Environment

  • apisix version (cmd: apisix version):
  • OS:

liubinqi2007 avatar Aug 19 '20 06:08 liubinqi2007

image

liubinqi2007 avatar Aug 19 '20 07:08 liubinqi2007

You need a token to access admin api, please have look at the section of "REST Admin API" in homepage,

Maybe we should append more detail about auth in the doc of admin api, such as how to send token in request, now here is nothing in it. @moonming @membphis

ShiningRush avatar Aug 19 '20 12:08 ShiningRush

please confirm if you set right value for allow_admin :

https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L58

membphis avatar Aug 19 '20 12:08 membphis

Maybe we should append more detail about auth in the doc of admin api, such as how to send token in request, now here is nothing in it. @moonming @membphis

welcome to create a new issue, we need some doc about this case. add a topic in FAQ is fine too.

membphis avatar Aug 19 '20 12:08 membphis