He incremented a number in the query string of a get request

https://www.w3schools.com/tags/ref_httpmethods.asp

Okay but what information did he obtain by doing that? If I break into a mistakenly locked police station, surely I cannot use the excuse "I was simply turning a door knob"