the company is now carrying out the front-end separation project. I use the axios method to ask for data at the front end. There are only the first and third data methods that can be used to request the API. But obviously, the data transmitted by the two methods are different. Because I do not quite understand the principle, I would like to ask a question here. I hope you can give us some advice.
the data that can be successfully requested by the login API is as follows:
request method:
:
:
axios:
:
:
:
::
: