Full-stack Engineer
The API works in a command-line client but fails in the browser.
- 1Your approach
- 2The follow-up
- 3Reflect & learn
THE INTERVIEWER ASKS
The scenario
A browser frontend on one origin cannot call an API on another origin, although a command-line request succeeds. Explain your investigation.
How would you approach it?
Explain your assumptions, your approach, and why you chose it.