We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05190ef commit 66fe4e5Copy full SHA for 66fe4e5
lambda-http/src/ext.rs
@@ -42,7 +42,10 @@ pub enum PayloadError {
42
///
43
/// You can also access a request's body in deserialized format
44
/// for payloads sent in `application/x-www-form-urlencoded` or
45
-/// `application/x-www-form-urlencoded` format
+/// `application/json` format.
46
+///
47
+/// The following handler will work an http request body of `x=1&y=2`
48
+/// as well as `{"x":1, "y":2}` respectively.
49
50
/// ```rust,no_run
51
/// #[macro_use] extern crate lambda_http;
0 commit comments