Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript send post

var xhr = new XMLHttpRequest();
xhr.open("POST", yourUrl, true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.send(JSON.stringify({
    value: value
}));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #send #post
ADD COMMENT
Topic
Name
9+4 =