The swagger/postMan request header carries the parameter HttpServletRequest

Generally, HttpServletRequest does not need to pass a value, but if its request header carries parameters, it needs to get the JWTSession (...) information from the request header according to the JWTtoken (hrttoken), then it needs to be set. Because JWTtoken and JWTSession are keys and values ​​correspond to:

swagger:

Initially the headers are in a state where editing is not allowed:

You can tick here:

This way the request header can be edited and put in the value:

 

 postMan

Also put key, value in the request header

If the download file is selected:

 

 

Guess you like

Origin blog.csdn.net/Ciel_Y/article/details/123129457