Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
fetch("", { //provide URL of the processing page
method: "POST",
headers: {
"Content-Type": "application/json"
body: JSON.stringify({
base64enc: base64enc,
fileName: fileName,
assetName: assetName
.then(function(res) {
.catch(function(err) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.