title: Web Server Request-Response Flow
description: Type: diagram sim-id: http-request-response-flow
Library: Mermaid
Status: Specified Create a Mermaid sequence diagram (sequenceDiagram) showing: Participants: Browser, WiFi Network, Robot (Pico W) Sequence: 1.
image: /sims/http-request-response-flow/http-request-response-flow.png
og:image: /sims/http-request-response-flow/http-request-response-flow.png
twitter:image: /sims/http-request-response-flow/http-request-response-flow.png
social:
cards: false
status: implemented
library: Mermaid
bloom_level: TBD
Web Server Request-Response Flow
Run the Web Server Request-Response Flow MicroSim Fullscreen
About this MicroSim
Type: diagram sim-id: http-request-response-flow
Library: Mermaid
Status: Specified Create a Mermaid sequence diagram (sequenceDiagram) showing: Participants: Browser, WiFi Network, Robot (Pico W) Sequence: 1.
Bloom's Taxonomy level: TBD
You can embed this MicroSim in your own course page with the following iframe:
1 | |
Lesson Plan
Learning objective: Type: diagram sim-id: http-request-response-flow
Library: Mermaid
Status: Specified Create a Mermaid sequence diagram (sequenceDiagram) showing: Participants: Browser, WiFi Network, Robot (Pico W) Sequence: 1.
Suggested use (5-15 minutes):
- Predict first. Before touching the controls, ask students to predict what they expect to see.
- Explore. Have students interact with every control and observe how the display responds.
- Explain. Ask students to describe, in their own words, the relationship the MicroSim demonstrates.
Discussion questions:
- What changed on screen when you interacted with the MicroSim, and why?
- How does this idea show up when you program the real robot?
References
- Chapter 11: Wireless Networking and Web Servers
- Hypertext Transfer Protocol (Wikipedia)
- HTTP request methods (MDN)
Specification
The full specification below is extracted from Chapter 11: Wireless Networking and Web Servers.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |