CURL go Javascript XHR Ar Líne
Cuidíonn an uirlis seo leat cód Javascript XHR a ghiniúint bunaithe ar Ordú CURL. Cóipeáil agus Greamaigh Ordú CURL agus Gin Javascript XHR.
Cad is féidir leat a dhéanamh le CURL go Javascript XHR Converter Online?
- CURL go Javascript Is uirlis uathúil é XHR chun ordú cURL a thiontú go Javascript XHR iarratas ar Javascript XHR. An t-ionchur a sholáthraíonn ordú cURL an úsáideora chun Cód XHR Javascript a ghiniúint.
 - Sábhálann an uirlis seo do chuid ama agus cabhraíonn sé le cód Javascript XHR a ghiniúint gan stró.
 - Oibríonn CURL go Javascript XHR go maith ar Windows, MAC, Linux, Chrome, Firefox, Edge agus Safari.
 
cad é CURL?
Is uirlis líne ordaithe foinse oscailte é cURL a íoslódálann comhaid ón ngréasán. Tacaíonn sé le raon de phrótacail, lena n-áirítear Javascript XHR, Javascript XHRS, FTP, SFTP, TFTP, Gopher agus daoine eile.
Conas CURL a thiontú go cód Javascript XHR?
Céim 1: Greamaigh agus tiontaigh d’iarratais CURL go cód Javascript XHR
Step2: Cóipeáil Javascript cód XHR
Tiontaigh CURL go Javascript XHR mar shampla
CURL
curl example.com 
   Javascript XHR
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});
xhr.open("GET", "http://example.com/");
xhr.send(data);