fetch('//website.com', {
method: 'post',
body: JSON.stringify({var1: 'value1', var2: [1,2,3]}),
}).then(function(response) {
return response.json();
}).then(function(data) {
console.log(data);
});
Helping online merchants succeed is what we do best!
Leave a Reply
You must be logged in to post a comment.