What problem does it solve?
This Skill simplifies the creation of robust HTTP servers and the consumption of external HTTP APIs, streamlining network-based application development.
Core Features & Use Cases
- HTTP Server: Define routes, handle requests, implement middleware, and serve responses. Supports path parameters and JSON payloads.
- HTTP Client: Make synchronous GET requests or use a fluent builder API for more complex requests (POST, PUT, DELETE) with headers, bodies, and timeouts.
- WebSocket Support: Integrate WebSocket handling within the HTTP server framework.
- Use Case: Build a RESTful API for your Mesh application or fetch data from a third-party service to enrich your application's functionality.
Quick Start
Use the mesh-http skill to create a simple HTTP server that responds with 'Hello, Mesh!' on the /hello path, running on port 8080.