Answer by saurshaz for passing headers with ajax in jquery
I was facing the same issue. Got rid of the line breaks by using jquery's(or do it in JS otherwise) $.trim() method. In my case I knew that \n\r won't be a part of the value legally. this has to be...
View Articlepassing headers with ajax in jquery
I have a problem with passing headers in ajax call on jquery.$.ajax({ url: '/resources/ajax/customize.aspx?'+ qs +'&nocache='+ Math.random(), contentType: "application/json", headers: values,...
View Article
More Pages to Explore .....