1. Problem
After the requests are packaged, call the url, method, and data of the login interface in excel, and the interface reports 500
But directly input parameters, the interface can return 200 normally
2. Reason
Because the type of value read from excel is str
The type of data is actually a dictionary
3. Solve
The problem becomes how to convert the string type to a dictionary, here you need to use dict = eval(str)
the function