This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![deny(missing_docs)] | |
#![deny(warnings)] | |
//! A simple HTTP server based on a REST API. | |
//! | |
//! You can perform the following actions: | |
//! | |
//! * `GET: /[key]`: returns the value corresponding to [key]. | |
//! * `POST: /[key]`: create a new entry or update it with the given value passed in the body. | |
//! * `DELETE: /[key]`: remove the corresponding [key] from the server. |