Question Bank · Section 15
API, Async Handling & Networking
9 questions. Parallel requests, error handling, interceptors, AI API integration, WebSockets, HTTP headers and what happens when you load a URL.
Almost every React app talks to a server, so interviewers probe how you fetch, combine, intercept and secure network calls. This section also covers the networking fundamentals (HTTP headers, WebSockets, the journey of a URL) that separate framework users from engineers who understand the web.
01How do you send multiple API requests on a single button click?02How do you handle errors if multiple requests are sent simultaneously?03If a token is saved in localStorage, anyone can misuse it — what should you do?04Can you share multiple ways to intercept API requests in React projects?05How do you call and handle responses from AI APIs like OpenAI, Hugging Face, or Google Cloud AI?06How do you handle rate-limiting or large payloads when consuming AI services?07What is WebSocket?08What is the use of the headers in the HTTP request?09What happens when we hit a URL in the browser?