I recently made a new entry in the Registry (following instructions from this helpful post). The entry can be seen in the snapshot below:
https://i.sstatic.net/InZyg.jpg
After creating this entry, I used the code snippet below to confirm that the Batch script is being executed from a JavaScript function:
Save_Result = async () => {
const location = window.location.hostname;
const settings = {
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/text',
}
};
try {
const fetchResponse = await fetch(`FDMyAlbsIF: "asdads" "dfgdfg" "dfgdfgert"` , settings);
const data = await fetchResponse.text;
return data;
} catch (e) {
return e;
}
}
Save_Result () ;
However, I encountered an error message indicating that something was not quite right:
Fetch API cannot load fdmyalbsif: "asdads" "dfgdfg" "dfgdfgert". URL scheme "fdmyalbsif" is not supported.
This leaves me wondering - where did I go wrong?