Registrazione - fase 1

This commit is contained in:
paolo
2018-10-15 02:50:06 +02:00
parent 01d5f3cec1
commit a6eb2d2aaa
4 changed files with 42 additions and 27 deletions

View File

@@ -1,13 +0,0 @@
var sendRequest = function (url, method, body)
{
const options = {
method: method,
mode: 'no-cors',
headers: new Headers({'content-type': 'application/json'}),
mode: 'no-cors'
};
options.body = JSON.stringify(body);
return fetch(url, options);
}();