when using php to write an interface, you have to use security verification. I don"t know why I"m a little confused when I think about it recently.
for example, there is an interface address http://test.com/user/list?uid.
. The three parameters above are the id), token values of the: uid (user. Sign (this value is calculated according to the first two parameters under the specified algorithm)
is given to the server, and then the server calculates the sign, according to the same rule to verify whether the passed sign is consistent
if the url above is normal, you can get the data. If the url is known by others at this time, and you can see the data as long as you run it in the browser, what is the use of security verification at this time?