Post Form to local DB


#1

Hi,

in my first Electron App with a Database, i have to post the Data (from a simply html form) to the server (nodejs).
I want to create a REST API like i do in web development.
The big question for me is (and this looks probably trivial for you :stuck_out_tongue:) which url should i use for the jQuery Ajax Post (my prefered way to communicate):

$.ajax({
  type: "POST",
  url: url
});

What is the common way?

Greetings