How can I add a custom HTTP header to ajax request with js or jQuery? Asked 07 September, 2021 Viewed 797 times javascript jquery ajax http-headers httprequest 54 Votes 9 Answers Does anyone know how to add or create a custom HTTP header using JavaScript or jQuery? javascript jquery ajax http-headers httprequest Your reply on this question: Add Reply Cancel 9 Answer Order by Voted Recent Oldest Submit an answer Embed images in Question