membphis edited a comment on issue #717:
URL: 
https://github.com/apache/apisix-dashboard/issues/717#issuecomment-723812310


   * `uri`, `uris`
   * `host`, `hosts`
   * `remote_addr`, `remote_addrs`
   
   the Admin API user will create a route with any of those fields, the 
frontend needs to show them in the dashboard correctly.
   
   For example, create the route with field `uri`, and we need to show it at 
frontend:
   
   ```sh
   $ curl http://127.0.0.1:9080/apisix/admin/routes/1 -X PUT -i -d '
   {
       "uri": "/index.html",
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "127.0.0.1:80": 1
           }
       }
   }'
   ```


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