Home > Software engineering >  Don't understand to ask, how to batch send server requests???
Don't understand to ask, how to batch send server requests???

Time:11-17

A game's background, can send the specified ID props,
Maximum number of props is 999, if you send some experience or coin has no actual meaning, only a one click to send, so how do you don't need frequent operation, directly to the server sends request many times and even thousands of times?

CodePudding user response:

Using the PC version of the Chrome simulation mobile devices,
Open access to the background, F12 debugging tools, cut to the Network label;
Click to send, found in the Network label corresponding to the request, it's every post/get parameters copy;
Directly in the console of debugging tools, change the parameter value of 999 to 99999999, it sent a request for testing;
If not, 5000 times of simulation with JS circulation send request
 for (I=0; i <5000; I++) {
$.post (... );
}

If this is advertising, I will report directly
  • Related