XMLHttpRequest Question:
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.
Previous Question | Next Question |
What is status? | How do we pass parameters to the server? |