+ 1
GET request management in REST API on server side
I want to limit the number of GET request to my web server database from my client. I have an application that allows customers to submit a request for processing on my web service application. And customers are allowed to check transactions status using a GET request at intervals. But many of them are overwhelming the server with this GET request with some checking every seconds. I want to allow for time based checking or some kind of restrictions.
1 Antwort
0
when someone request to server set variable like visited = true and false if request already made first this variable will check if visied=false let him in else redirect or send him somewhere mean at page which say please try after some time or simply echo message hope you undarstand the logic