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:
[email protected]