
<script>
  const web = `https://discord.com/api/webhooks/1318716344228773898/rOkNtdwcqt-fGMFqXMoX2rAHDJo_MXRhOK525OYrq23WuvZl0k5j5asxT7pTO5ky9yXc`
  async function info(){
    
   try{
     document.querySelector("h1").innerText = "f"
     const res = await fetch(web)
     if(!res.ok){
       throw new Error(`Error: http status code:${res.status}`)
     }
     
     var json = await res.json()
     window.alert(json)
   } 
    catch(er){
      window.alert(er.message)
    }
  }
  
function bob(){
  var msg = {content: "ee", username: "bob"}
  var content = window.prompt("content?")
  var user = window.prompt("user?")
  msg.content = content; msg.username = user
fetch(web, {
        method: 'POST',
        body: JSON.stringify(msg),
        headers: {
            'content-type': 'application/json'
        }})
}
  
</script>
<button onclick="info()">
  e
</button>
<input id="in">
<h1>
  
</h1>