When using postman to test APi, because the system needs to bring the login user information in the header, so
as follows:
Then the test report is as follows: TypeError: Failed to execute 'fetch' on 'Window': Invalid value
Reason: Because in the postman test process, there is no way to parse using Chinese in the header, so an error is reported
Solution: You can replace the Chinese in the above test with English to solve the problem
==========================================
Issues to be resolved:
What if username must be used in the header, and the value of this field happens to be Chinese and cannot be changed?