How can you make an asynchronous request to a server in JavaScript?आप जावास्क्रिप्ट में सर्वर के लिए अतुल्यकालिक अनुरोध कैसे कर सकते हैं?
आप जावास्क्रिप्ट में सर्वर के लिए अतुल्यकालिक अनुरोध कैसे कर सकते हैं?
Show answerHide answer
Correct answer: (C) Using the fetch API or XMLHttpRequestFetch API या XMLHttpRequest
Explanation
The fetch API and XMLHttpRequest actually send HTTP requests to a server without blocking the page. async/await and callbacks only help you handle the result.fetch API और XMLHttpRequest वास्तव में पेज को रोके बिना सर्वर को HTTP अनुरोध भेजते हैं। async/await और callback केवल परिणाम संभालने में मदद करते हैं।