Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create http request

const xhr = new XMLHttpRequest();

let method = 'GET';
let endpoint = 'what you looking for';

xhr.open(method, endpoint);
xhr.send();

xhr.onload = () => {
	'working what you get'
};
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #create #http #request
ADD COMMENT
Topic
Name
3+1 =