data_uri
Build data URIs from payloads or parse URIs to retrieve media type, parameters, and decoded data.
Instructions
Build a data: URI from a payload, or parse one into its parts (RFC 2397).
action=build (needs data, read via input_format): wraps it as
data:[media_type][;base64],<payload>; base64=true base64-encodes the
payload, else it is percent-encoded. action=parse (needs uri): returns
media_type (defaulting to text/plain when absent), the ;k=v parameters,
is_base64, and the decoded data rendered via output_format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| media_type | No | ||
| data | No | ||
| base64 | No | ||
| uri | No | ||
| input_format | No | text | |
| output_format | No | text |