You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/01/25 13:36:19 UTC
[GitHub] [apisix-dashboard] starsz commented on a change in pull request #1373: fix: some apis bypassed authentication
starsz commented on a change in pull request #1373:
URL: https://github.com/apache/apisix-dashboard/pull/1373#discussion_r563726740
##########
File path: api/test/e2e/base.go
##########
@@ -54,6 +54,7 @@ func init() {
url := ManagerAPIHost + "/apisix/admin/user/login"
req, err := http.NewRequest(http.MethodPost, url, bytes.NewBuffer(requestBody))
+ req.Header.Add("Content-Type", "application/json")
Review comment:
Just to make sure that FE will add this header when query the BE.
@nic-chen @juzhiyuan
----------------------------------------------------------------
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:
users@infra.apache.org