POST : <GATEWAY_IP>
:8001/services
{
"name" : "admin-api",
"host" : "localhost",
"port" : 8001,
"path" : "/"
}
POST : <GATEWAY_IP>
:8001/services/admin-api
/routes
{
"paths" : ["/admin-api"]
}
POST : <GATEWAY_IP>
:8001/services/admin-api
/plugins
{
"name" : "key-auth"
}
POST : <GATEWAY_IP>
:8001/consumers
{
"username" : "admin"
}
POST : <GATEWAY_IP>
:8001/consumers/admin
/key-auth
{
"key" : "68fSNmzqfc3Wxe5GZPb4T8VwGpKUvu3caTeHqM7Z"
}
GET : <GATEWAY_IP>
/admin-api?apikey=68fSNmzqfc3Wxe5GZPb4T8VwGpKUvu3caTeHqM7Z
for disable port 8001