Home > Article > Backend Development > Confused url request_PHP tutorial
Today’s modification to the company’s system was still an issue with ajax requests, but this time it was simpler than last time. But I encountered a very puzzling problem. I thought it was an ajax problem at the time. Later, it was the same when I accessed it directly on the browser. The connection was like this: https://88.88.88.88:88/index.php?q=device/ getdevictnum/did/88
Problem description: When I access the connection didd is 40, the url is: https://114.104.206.14:28443/index.php?q=device/getdevictnum/did/40
When accessing, I can get a json return value like "10/10" normally, but when my did is 41, the browser will keep redirecting and no result will be obtained.
But my code is like this---returned directly. When I changed the browser, the problem disappeared again - who knows what happened?