Need a full-featured HTTP server for your Raspberry Pi Pico W?
If you're building IoT devices, sensor gateways, or any networked embedded app, check out Pico-Framework: a modern C++ framework for HTTP on the Pico W and Pico 2 W.
Express.js-style routing
Full REST support: GET, POST, PUT, DELETE, and more
Fluent request/response objects
Declarative routing with parameter matching
Built-in support for JSON and form data
Query parsing and URL-encoded form support
File uploads
Static file serving (SD card or littlefs)
Transparent GZIP handling for HTML/CSS/JS
Middleware support (logging, auth, etc.)
JWT-based route authorization (no external libs)
FreeRTOS built-in
Example routes:
HTTP Server Guide:
https://pico-framework.com/guides/http/server/
GitHub project:
https://github.com/Pico-Framework/pico-framework
If you're building IoT devices, sensor gateways, or any networked embedded app, check out Pico-Framework: a modern C++ framework for HTTP on the Pico W and Pico 2 W.
Example routes:
Code:
// Send a viewrouter.addRoute("GET", "/", [](HttpRequest &req, HttpResponse &res, const auto &){ res.send(DashboardView()); });// Simple text responserouter.addRoute("GET", "/hello", [](HttpRequest &req, HttpResponse &res, const auto &){ res.send("Welcome to Pico-Framework!"); });// Return contents of directoryrouter.addRoute("GET", "/ls(.*)", [](HttpRequest &req, HttpResponse &res, const auto &match) { std::vector<FileInfo> files; AppContext::get<StorageManager>()->listDirectory(match.ordered[0], files); res.json(files);});https://pico-framework.com/guides/http/server/
https://github.com/Pico-Framework/pico-framework
Statistics: Posted by ianarchbell — Wed Jul 02, 2025 10:42 pm — Replies 3 — Views 108