Exam-style question
Try this first
Where does the REST API used by browser JavaScript run?.
- A.On the server
- B.Inside the HTML file as a database
- C.Only inside the TCP cable
- D.Inside the SQL table
Answer and explanation
Concise answer
On the server
Why this is correct
A REST API is created and run on the server. JavaScript running in the browser calls this API through HTTP.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
