zhfish commented on issue #2032:
URL: 
https://github.com/apache/apisix-dashboard/issues/2032#issuecomment-892442215


   ```
   curl --request POST \
     --url http://127.0.0.1:9000/apisix/admin/user/login \
     --header 'Accept: application/json' \
     --header 'Accept-Language: 
zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6' \
     --header 'Content-Type: application/json;charset=UTF-8' \
     --header 'Proxy-Connection: keep-alive' \
     --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 
Edg/92.0.902.62' \
     --data '{
        "username": "admin",
        "password": "admin"
   }'
   ```
   
   ```
   curl --request POST \
     --url http://gw.my.com/apisix/admin/user/login \
     --header 'Accept: application/json' \
     --header 'Accept-Language: 
zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6' \
     --header 'Content-Type: application/json;charset=UTF-8' \
     --header 'Proxy-Connection: keep-alive' \
     --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 
Edg/92.0.902.62' \
     --data '{
        "username": "admin",
        "password": "admin"
   }'
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to