Send an HTTP POST request to a page and get the result back

     
     <script>
     $(document).ready(function(){

      $("button").click(function(){
   
        $.ajax({
            url:"https://api.covid19india.org/data.json",
          success:function(data){
            alert(data);
          },
          
        });
    });
      
    });
</script>