[postman] The postman test API reports an error as follows: TypeError: Failed to execute 'fetch' on 'Window': Invalid value does not support Chinese well

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?

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325174095&siteId=291194637