API no response using XMLHTTPREQUEST()

API no response using XMLHTTPREQUEST()

The following code does not work from my Godaddy hosting account(username/password edited for this post).  It does work with other remote URLs.  The "req.send(); is not working with this URL as the alert command after the send never happens.  Any comments would be appreciated.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
</body>
  <script>
    var req = new XMLHttpRequest()
    req.open('GET', 'https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=zohopeople/recruitapi&EMAIL_ID=username&PASSWORD=mypassword', false);
alert(req.status);
    req.send();
alert(req.status);
alert(req.responseText);
    if(req.status == 200) {
        alert(req.responseText);
    }
  </script> 
</html>




















      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          Zoho CRM Plus Resources

            Zoho Books Resources


              Zoho Subscriptions Resources

                Zoho Projects Resources


                  Zoho Sprints Resources


                    Zoho Orchestly Resources


                      Zoho Creator Resources


                        Zoho WorkDrive Resources



                          Zoho CRM Resources

                          • CRM Community Learning Series

                            CRM Community Learning Series


                          • Tips

                            Tips

                          • Functions

                            Functions

                          • Meetups

                            Meetups

                          • Kbase

                            Kbase

                          • Resources

                            Resources

                          • Digest

                            Digest

                          • CRM Marketplace

                            CRM Marketplace

                          • MVP Corner

                            MVP Corner




                            Zoho Writer Writer

                            Get Started. Write Away!

                            Writer is a powerful online word processor, designed for collaborative work.

                              Zoho CRM コンテンツ



                                ご検討中の方