Controlling things from E.S.P 30 to observer.
Now, if things aren't clear yet, you might be asking yourself, how am I going to control things from
Observer that merely processes and delivers what pages?
Well, then you need to understand what's going on behind the scenes.
Now.
When you type are you are an old browser and hit enter the browser sends and or A.B. request, which
is basically get request to our server.
And in the example we previously explained, we mentioned Google servers.
It's a job of Web server to handle this request by doing something.
You might have figured it out by now that we are going to control things by accessing a specific URL.
For example, suppose we enter are like one hundred ninety two point one hundred sixty eight point one
point one led on.
I would like to do that for you so that the idea will be more clear.
Now, Furat.
HTP.
And we wrote a lot of.
One hundred ninety two point one six eight point one point one, and then we had a slash led.
Now, if we did enter this in the browser, the browser then sends HTP request to E.S.P 52 to handle
this request.
When E.S.P 32 reads the request, it knows that the user wants to turn that on from D-line.
It turns the lid on and sends a dynamic page to applause are showing little status on.
All of now, this part of the trial can be anything else that may change the color.
This part can be changed with anything else, depending on the IP that you set for your USB port, and
this line out of this world can be changed with any other thing played out on laid off or turn it on,
turn it off.
And this is the YouTube request that we already mentioned.
So this is basically what we are going to write and our client, which is the Web browser, and this
will be sent to the server, which is the ISP bar.
And in that case, these people will have a code that will be ready to receive this, uh, your URL,
and it will try to figure out what's written here.
Once it's recognized that it's it has a lid on right in here, it will turn on the lid.
Then it will send out page displaying the status of that led to your Web browser.
So it's basically client or browser and server, then back to the client and from the client, the server
again.
And this law will continue.
This is basically what we are going to do.
We are going to write a code inside the server and that code will has a Web page code and it will has
to button.
Or of.
Once you call it by name, once you write 100 thousand eight hundred sixty one one, it will take you.
Once you have this in your browser, it will take you to this Web page that exists inside the ISP server.
And from there, you can control these two letters on or off.
It's as simple as that.
The ISP is the server and your Web browser is the client.
You will use the your client to connect to the server and give it orders to turn it on or off.
And it will execute depending on the code inside it and will send you the whole page showing your little
status.
I think that now the idea is more clear and to be even more clear with the coding and the coding section,
so stay tuned.
See your next.
And we are going to start calling this board to act as an observer.