Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLuiz Vidoto
7,947 PointsHow can I make an AJAX request to a HTTPS server from a local website?
Hi, I'm having trouble finding out how to send an AJAX request to a HTTPS web site, I always get the no allowed error. I tried the JSON-P method, didn't work either. I'm going to try the CORS method and see if it works. Thank
1 Answer
Unsubscribed User
501 PointsWhat type of request would you like to send?
Please note that the result how a server handle incoming requests it depends in its CORS configuration. This means if that server what you are sending requests for, only allowed recieving requests from the same domain, you will got those errors for sure.