Skip to content

Commit 0cc916c

Browse files
authored
Update README.md
1 parent 58ee35c commit 0cc916c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ end
224224
```
225225
The switch statement is used to select the code according to the URL given, and other methods provide access to parameters of the HTTP request.
226226
<hr />
227-
![page1](doc/page1.png)
227+
![page1](https://github.com/petercorke/simple-threads-coder/blob/master/doc/page1.png)
228228
```shell
229229
2018-09-16 15:54:28.635937 [user] user program starts
230230
2018-09-16 15:54:28.636843 [user] web server starting on port 8080
@@ -238,7 +238,7 @@ Note the arguements `?a=7&b=12` on the end of the URL. These are GET arguments o
238238

239239
Note also, that log messages from the web server function are listed as coming from the `WEB` thread, which is created by `webserver()`.
240240
<hr />
241-
![page2](doc/page2.png)
241+
![page2](https://github.com/petercorke/simple-threads-coder/blob/master/doc/page2.png)
242242

243243
```shell
244244
2018-09-16 15:39:12.816790 [WEB] web: GET request using HTTP/1.1 for URL /page2
@@ -260,7 +260,7 @@ The template file is sent to the browser with substitutions. The `page2.html`
260260
```
261261
and the values of the fields of the struct `vals` are substituted for the corresonding named `TMPL_VAR` tags.
262262
<hr />
263-
![duck](doc/duck.png)
263+
![duck](https://github.com/petercorke/simple-threads-coder/blob/master/doc/duck.png)
264264

265265
```shell
266266
2018-09-16 15:36:08.881139 [WEB] web: GET request using HTTP/1.1 for URL /duck
@@ -269,7 +269,7 @@ and the values of the fields of the struct `vals` are substituted for the corres
269269
```
270270
The local file `duck.png` is sent to the browser as an `image/jpeg` filetype.
271271
<hr />
272-
![post](doc/post.png)
272+
![post](https://github.com/petercorke/simple-threads-coder/blob/master/doc/post.png)
273273

274274
```shell
275275
2018-09-16 16:32:00.035029 [user] web: GET request using HTTP/1.1 for URL /input

0 commit comments

Comments
 (0)