Parse Data URL
Parse and decode a data: URL, e.g., from a file upload or screenshot
Demos & Screenshots
No screenshots provided yet. Have some video demos or screenshots of this
brick
in the wild?
Send them over to
[email protected]!
Inputs
Name | Required | Type | Description |
---|---|---|---|
url |
string
|
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs | |
decodeText |
boolean
|
Decode the body into text |
Outputs
Name | Required | Type | Description |
---|---|---|---|
body |
string
|
The body, decoded if decode flag was set | |
encoding |
string
|
The encoding used to decode the body | |
mimeType |
string
|
The MIME media type |
Details
ID | @pixiebrix/data-url |
---|---|
Author |
@pixiebrix
|
Version | 1.7.0 |
Created | Sept. 28, 2021 |
Updated | May 26, 2022 |
Related Bricks
- No related bricks