text: export const postData = (url, data, callback) => {
      const xhr = new XMLHttpRequest()
  
      xhr.open('POST', url, true)
      xhr.setRequestHeader("Accept", "application/json")
      xhr.setRequestHeader("Content-Type", "application/json")
      xhr.onreadystatechange = () => {
          if (xhr.readyState === 4) {
              if (xhr.status === 200) {
                  callback('Success')
              }
              else {
                  callback('Error')
              }
          }
      }
  
      xhr.send(JSON.stringify(data))
  }