zephyr/samples
Matt Rodgers 8a8f2814cd samples: net: http_server: demonstrate dynamic GET and POST
Previously the dynamic resource in the http_server sample simply echo'd
the received data back to the sender. This doesn't demonstrate how the
dynamic handlers would be used in a more typical use case, where the
application may need to wait for the full request before acting on it or
creating a response.

Therefore two new dynamic resources have bee added: a '/led' resource
which can be used to control the board's LED (if present) via a POST
request, and a '/uptime' resource which can be used to query the kernel
uptime via a GET request.

The static resources are updated with some javascript to support
demonstrating the new dynamic resouces via a web browser.

Signed-off-by: Matt Rodgers <mrodgers@witekio.com>
2024-08-12 19:25:05 -04:00
..
application_development samples: external_lib: Include --target in exported build flags 2024-07-31 10:08:33 +02:00
arch samples: pktqueue: remove main.h 2024-05-21 20:54:13 -04:00
basic samples: button: add a note about the input subsystem and samples 2024-07-30 18:29:50 +01:00
bluetooth Samples: Bluetooth: CAP Initiator broadcast support 2024-08-01 08:53:08 +01:00
boards pm: Remove deprecated symbol references 2024-08-08 15:38:04 +02:00
cpp samples: cpp: add a Hello, world! C++ app 2024-01-17 09:56:34 +01:00
drivers samples: drv2605: Adds a DRV2605 sample application 2024-08-08 15:57:12 +02:00
fuel_gauge Samples: max17048: added units to output 2024-07-10 11:36:28 +02:00
hello_world samples: hello_world: Use full board target string for hwmv2 boards 2024-03-21 20:10:46 +01:00
kernel arch: move arch_interface.h under zephyr/arch 2024-03-25 09:58:35 +00:00
modules samples: add steps to add lz4 into west manifest 2024-08-12 19:24:15 -04:00
net samples: net: http_server: demonstrate dynamic GET and POST 2024-08-12 19:25:05 -04:00
philosophers doc: samples: philosophers: fix formatting and spelling 2024-05-31 03:08:52 -07:00
posix samples: env_posix: fix regex in sample test 2024-07-12 09:18:56 -04:00
sensor samples: fix adafruit_feather board name 2024-08-01 14:56:25 +02:00
shields samples/shields: x-nucleo-iks4a1: Add lsm6dsv16x temp display 2024-07-27 10:37:11 +03:00
subsys samples: SMF: LVGL: SMF-based Calculator 2024-08-07 19:02:15 -04:00
synchronization samples/synchronization: fix thread b pinning 2024-07-30 18:30:30 +01:00
sysbuild samples: sysbuild: hello_world: add cpuapp/cpuflpr+xip configuration 2024-08-06 14:32:40 +02:00
tfm_integration samples: tfm_integration: tfm_ipc: update readme 2024-07-29 14:13:02 +02:00
userspace doc: samples: userspace: add cross reference to C functions 2024-06-20 14:07:32 -04:00
classic.rst
index.rst samples: move lz4 into modules 2024-08-12 19:24:15 -04:00
sample_definition_and_criteria.rst