Create Http Request

[Solved] Create Http Request | Perl - Code Explorer | yomemimo.com
Question : create http request

Answered by : gbor-deutsch

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 : https://www.tutorialspoint.com/http/http_requests.htm | Last Update : Wed, 20 Jan 21

Answers related to create http request

Code Explorer Popular Question For Perl