Parse Data URL

Parse a data: URL, e.g., from a file upload

Demos & Screenshots

No screenshots provided yet. Have some video demos or screenshots of this brick in the wild?
Send them over to [email protected]!

How to Use

No instructions provided yet. Have questions?
Ask the PixieBrix Community!

Inputs

Name Required Type Description
url string https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs

Outputs

Name Required Type Description
body string The decoded body
encoding string The encoding used to decode the body
mimeType string The MIME media type

Details

ID @pixiebrix/data-url
Author @pixiebrix
Version 1.4.2
Created Sept. 28, 2021
Updated Sept. 28, 2021

Related Bricks

  • No related bricks