what i want to know is where i can get some documentation about the structure or the actual get statement that i need
The structure of a GET statement is well documented. Mr. Google can help you with that.
As far as the name of the script and the name=value pairs that you have to supply the script, that depends on your server and needs. Only you know what server you want to connect to, and what scripts are available on that server, and what name=value pairs are required and which are optional.
It appears that you have one Arduino (or pretender) acting as a server and one acting as a client.
On the server, the only script that you support is / (that is an unnamed script). When / is requested (that is, when a client makes a GET request like "GET / HTTP/1.1" or "GET /dimLED=chocolateIceCreamIsBest&burntOutLED=elephantSnotIsSlippery HTTP/1.1"), handleRoot() is called.
The handleRoot() function looks to see if the request contains a name=value pair where the name contains "LED", or not. If it does, it calls handleSubmit(). If not, it calls getPage() and streams the value that getPage() returns to the client.
You would have to look at what handleSubmit() does with the name=value pair(s), to see what name(s) and value(s) to supply, to make the server do what you want.