JavaScript AJAX Basics (retiring) AJAX and APIs Displaying the Photos

What was Dave referring too in the earlier videos, he was mentioning something about using Workspaces for a server?

I'm confused, I got everything up and running on both Workspaces and my own text editor. I was able to pull photos and test different animals. Was I supposed to start some kind of server, port 8080 on? Or with an API a server is not necessary?

1 Answer

Steven Parker
Steven Parker
182,493 Points

Whenever you use the "preview" function in the workspace, it operates as a server. Your browser connects to it in another window and makes requests of it and receives and displays the responses.

Local web-based editors usually replace both server and client functionality.