XMLHttpRequest Question:
Download Job Interview Questions and Answers PDF
Explain setRequestHeader("label", "value")?
Answer:
The setRequestHeader("label", "value") method is used to assign a label/value pair to the header to be sent with a request.
Download XHR2 Interview Questions And Answers
PDF
Previous Question | Next Question |
What is status? | How do we pass parameters to the server? |