Given option is wrong

Inthis option 4 is xhhtp.send(JSON.stringify(mobj)) which is not a correct option. Pls give me clarity

Hi @sahityasingh1211 and @dharshinim.ug20.cs , can you please help the student here?

@titiksha.chakraborty Yes mam.
@goliashok645 we are checking will let you know soon

@goliashok645

Correct answer is option 4 only.
The JSON.stringify(mObj) method converts the JavaScript object (mObj ) into a JSON string before sending it as the request body. This ensures that the data is properly formatted and can be processed correctly by the server.

1 Like