Recently, I was looking at things on the public platform and tried to use php for development. After laravel passes token verification and sends a message to the subscription number, it will prompt an error message indicating that the service cannot be provided. Then I use a single PHP file for testing, at the beginning, my server address is filled with xxx.com and the results still show the same... recently, I was looking at things on the public platform and tried to use php for development.
After laravel passes token verification and sends a message to the subscription number, an error message indicating that the service cannot be provided is displayed.
Then I tested with a single PHP file and started to fill in the http://xxx.com/results for my server address or the same problem
The code didn't change. I changed the server address to the http://xxx.com/index.php and it turned out to work. So I would like to ask my friends who have worked on development. What is the situation? It has something to do with url?
Reply content:
Recently, I was looking at things on the public platform and tried to use php for development.
After laravel passes token verification and sends a message to the subscription number, an error message indicating that the service cannot be provided is displayed.
Then I tested with a single PHP file and started to fill in the http://xxx.com/results for my server address or the same problem
The code didn't change. I changed the server address to the http://xxx.com/index.php and it turned out to work. So I would like to ask my friends who have worked on development. What is the situation? It has something to do with url?
It has nothing to do with the URL. I have used Laravel to develop complex systems (including messages, events, webapps, Ajax interfaces, and payments) and communicate with the server through a Laravel route configuration.
I guess the solution to your problem should be here: About the public platform "your service failed to correctly respond to Token Verification" error Solution
Generally, it is displayed that the service is unavailable because your application did not return the corresponding data when requesting your laravel application. Therefore, it is displayed that the service is unavailable. Use the log to debug it.