Code: Select all
fetch('https://textbelt.com/text', {
method: 'post',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
phone: '5555555555',
message: 'Hello world',
key: 'textbelt',
}),
}).then(response => {
return response.json();
}).then(data => {
console.log(data);
});
I have tried a suggestion for Klaus in a 2015 thread that looks like this.
Code: Select all
on mouseUp pMouseButton
put field "Handler" into tCommands
replace "5555555555" with "6192013100" in tCommands
set the javascriptHandlers of widget "Browser" to tCommands --(Klaus said this but nothing more)
put the result into tResult
I have also tried revBrowserOpen along with "revBrowserAddJavaScriptHandler lBrowserID, tCommands" and got no results either. Can anyone fix my mouseUp?
Thanks in advance,
Larry