GET request management in REST API on server side | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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.

16th Apr 2019, 8:18 AM
Ralph
1 Answer
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
24th Apr 2019, 6:16 PM
imran ali
imran ali - avatar