MCQs>IT & Programming>Ajax>If the server is expecting JSON-formatted information in the request, what code will turn the JavaScript object dataToSend into data you can send to the server (consider modern browsers only, including IE8 and above)?
Ajax MCQs
If the server is expecting JSON-formatted information in the request, what code will turn the JavaScript object dataToSend into data you can send to the server (consider modern browsers only, including IE8 and above)?
Answer
Correct Answer: JSON.stringify(dataToSend);
Explanation:
Note: This Question is unanswered, help us to find answer for this one