mw_raw | R Documentation |
Adds the raw body, as a raw object to the raw
field of the request.
mw_raw(type = "application/octet-stream")
type |
Content type to match. If it does not match, then the request object is not modified. |
Handler function.
Other middleware:
mw_etag()
,
mw_json()
,
mw_log()
,
mw_multipart()
,
mw_static()
,
mw_text()
,
mw_urlencoded()
app <- new_app() app$use(mw_raw()) app
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.