JavaScript AJAX Basics (retiring) Programming AJAX Parsing JSON Data

jimmy kumar garg
jimmy kumar garg
350 Points

GET http://localhost:52944/employees.json 404 (Not Found) this is what happens.

GET http://localhost:52944/employees.json 404 (Not Found) this is what happens.

3 Answers

jason chan
jason chan
30,995 Points

is that the correct port and correct location of the .json file?

Paste your code Jimmy both html and widget.js so we could take a look. Code 404 means that file not found that it has not found widget.js.

It's the incorrect path. Needs to be data/employees.json