porcelain_input_body_binary | R Documentation |
Control for body parameters. This might change. There are several types of HTTP bodies that we want to consider here - the primary ones are a body uploaded in binary, the other is a json object. In the latter we want to validate the body against a schema (at least if validation is used). In future we might also support a form input here too.
porcelain_input_body_binary(name, content_type = NULL)
porcelain_input_body_json(name, schema = NULL, root = NULL, extract = NULL)
name |
Name of the parameter |
content_type |
Content type for the input. If not given, then
|
schema |
The name of the json schema to use |
root |
The root of the schema directory. |
extract |
Optionally, the name of an element to extract from
the json. If given, then the body must be a json object (not an
array, for example) and |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.