text: const fetch = require('node-fetch');
  const settings = require('./settings');
  
  function postImposter(body) {
    const url = `http://127.0.0.1:${settings.port}/imposters`;
  
    return fetch(url, {
      method:'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify(body)
    });
  }
  
  module.exports = { postImposter };
  