Using POST to request data returns "no client information in request header", error code 401

401 error means that the user is not logged in or the user token has expired. It may also be because there is no Authorization in the header.
So I checked the code and found that Authorization and user-aget were written backwards. After changing them, I can successfully obtain the data.

Guess you like

Origin blog.csdn.net/qaaaaaaz/article/details/134017318