AnkiNodeDrive
AnkiNodeDrive copied to clipboard
What is the correct ajax request on the client side?
Hi John,
I am using your node server to control my Ankis with a Web-GUI, which works fine.
For example, I have this code to set speed in the event of a changing slider:
function SetSkullSpeed(event) { $.post("http://localhost:7877/setSpeed/Skull/" + event.target.value); }
However, I can't retrieve any response from the server. What would be the right way to set up a $.post or $.ajax request?