How to use the yapi tool to write the data returned by the previous interface into the header of the following interface?

how to use the yapi interface management tool to write the data returned from the previous interface to the header of the following interface? For example, log in and get the token, and then the subsequent APIs need to add this token to the header

Apr.09,2021

first save token locally, and then bring it to the next interface request.

if it is useful axios , you can set it uniformly in the interceptor


it was not realized by adding header, and then the background told me that I could also pass it to him in the form of parameters, so I changed this method

.
  

can you give me a detailed sample? I am in a hurry when I encounter this problem. Thank you.

Menu