Post Form to local DB



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):

  type: "POST",
  url: url

What is the common way?