Answers for "javascript make a post"

1

javascript send post

var xhr = new XMLHttpRequest();
xhr.open("POST", yourUrl, true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.send(JSON.stringify({
    value: value
}));
Posted by: Guest on December-27-2020

Code answers related to "javascript make a post"

Code answers related to "Javascript"

Browse Popular Code Answers by Language