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 trial
Alex Davis
35,050 PointsAJAX in workspaces
Can workspaces use AJAX without being connected to a different server?
1 Answer
Steven Parker
243,215 PointsAJAX is just a method for requesting and receiving data, so it can be used from a single server such as the one provided by the workspace. In fact, that actually simplifies the job since it avoids any security issues that might arise from cross-origin data requests (going to a different server).
Alex Davis
35,050 PointsAlex Davis
35,050 Pointsoh okay! thank you so much for clearing that up for me :)