Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
Ios safari XMLHttpRequest jsonp 404

I ma trying to load this url with XMLHttpRequest:

            var url = 'https://kastproxy-us.herokuapp.com/https://itunes.apple.com/search?type=jsonp&term==waldeck-make%20my%20day&media=music&limit=1"'

            var xhr = new XMLHttpRequest();
            xhr.onerror = function (e) {
                console.error(xhr.statusText);
            };
            xhr.onreadystatechange = function () {

                if (this.readyState === 4) {  
                    if (this.status === 200) {  

                       

                    }else{  
                        if (this.status === 403) {  

                        }
                    } 
                }
            }
            xhr.open('GET',i, true);
            xhr.send();

It works everywhere (max / windows / android) but it fails on iphone / ipad safari or chrome. When I debug over my safari Mac connected to ipad with usb, I get:

Failed to load resourse, the server responded with a status 404

I cannot seem to get more information why is it 404, because it works everywhere else.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!