{"json_modified": "2016-07-09T04:04:28.589724", "uuid": "9ebfb229-c5fe-4c94-957d-c7da874ed3cc", "title": "XMLHttpRequest.setRequestHeader()", "url": "/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader", "tags": ["Reference", "XMLHttpRequest"], "translations": [], "modified": "2016-07-09T04:04:28", "label": "XMLHttpRequest.setRequestHeader()", "localization_tags": [], "locale": "en-US", "id": 165595, "last_edit": "2016-05-27T00:14:46", "summary": "The XMLHttpRequest.setRequestHeader() method sets the value of an HTTP request header. You must call setRequestHeader()
after\u00a0open()
, but before send()
. If this method is called several times with the same header, the values are merged into one single request header.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Parameters", "title": "Parameters"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/XMLHttpRequest/setRequestHeader", "review_tags": []}