src/drivers/webextension/js/driver.js
async function post(url, body) {
  try {
    const response = await fetch(url, {
      method: 'POST',
      body: JSON.stringify(body),
    });

    wappalyzer.log(`POST ${url}: ${response.status}`, 'driver');
  } catch (error) {
    wappalyzer.log(`POST ${url}: ${error}`, 'driver', 'error');
  }
}
async function post(url, body) {
  try {
    const response = await fetch(url, {
      method: 'POST',
      body: JSON.stringify(body),
    });

    wappalyzer.log(`POST ${url}: ${response.status}`, 'driver');
  } catch (error) {
    wappalyzer.log(`POST ${url}: ${error}`, 'driver', 'error');
  }
}
async function post ( url , body ) { try { const response = await fetch ( url , { method : 'POST' , body : JSON . stringify ( body ) , } ) ; wappalyzer . log ( ` ${ url } ${ response . status } ` , 'driver' ) ; } catch ( error ) { wappalyzer . log ( ` ${ url } ${ error } ` , 'driver' , 'error' ) ; } }
Make a POST request
Make a POST request