diff --git a/docs/mithril.request.md b/docs/mithril.request.md index e2e7b3af..96defe1d 100644 --- a/docs/mithril.request.md +++ b/docs/mithril.request.md @@ -272,6 +272,7 @@ data.append("file", file) m.request({ method: "POST", url: "/upload", + data: data, serialize: function(data) {return data} }) ```