I am trying to use the fetch method in javascript to post data to the server.
fetch
Here is what I have done
var formData = {};// data var url