How does Wechat developer tool simulate mobile phone ua to send requests?

Mini Program is developed by Wechat developer tool. Sending an API request token to the backend will return "Token creation requests cannot be accessed from a browser.", which cannot be obtained on the browser. You can only upload a preview of the code and get it on the phone.
I think the backend should be judged by ua. How can Wechat"s developer tools modify it?


you don't understand the meaning of this error:
this is when you send a request, you need to get Wechat user information. But the browser does not have Wechat user information, so this prompt.
so there is a problem with your operation, this step request should be sent by Mini Program to api. Not backstage.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e54296-4527a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e54296-4527a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?