Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tigoe committed Jul 28, 2024
1 parent 5cf1e3d commit fb66cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Servers/SensorWebServerWithCSSandJS/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Setting the actual response for the index, css, and js requests is done by popul
````arduino
#define INDEXHTML ""
````
Then add a backslash line exender, `\`, to the end of each line. Make sure any single or double quotes are escaped with the backslash as well. You can see the results in [`index.h`](https://github.com/tigoe/Wifi_examples/tree/main/Servers/SensorWebServerWithCSSandJS/index.h), [`styles.h`](https://github.com/tigoe/Wifi_examples/tree/main/Servers/SensorWebServerWithCSSandJS/styles.h), and [`script.h`](https://github.com/tigoe/Wifi_examples/tree/main/Servers/SensorWebServerWithCSSandJS/script.h).
Then add a backslash line exender, `\`, to the end of each line. Make sure any single or double quotes are escaped with the backslash as well. You can see the results in [index.h](https://github.com/tigoe/Wifi_examples/tree/main/Servers/SensorWebServerWithCSSandJS/index.h), [styles.h](https://github.com/tigoe/Wifi_examples/tree/main/Servers/SensorWebServerWithCSSandJS/styles.h), and [script.h](https://github.com/tigoe/Wifi_examples/tree/main/Servers/SensorWebServerWithCSSandJS/script.h).

The response for `/readings` is a custom function that generates a JSON string that looks like this:

Expand Down

0 comments on commit fb66cba

Please sign in to comment.