I'm trying to execute an api on a button click,
For example, the following command:
Hi, you are executing an api command through a browser, I am looking for a way to embed this script in Nodbibi, and that it will be activated immediately when the page is loaded, (can also be done when a button is pressed).
But no option works, I tried onload, and it doesn't work. I tried with btn - to be activated with id. doesn't work either.
On the other hand, the script works by itself when you run it in the console.
Need urgent help, thanks!