How do i pass headers when specifying a location with window.location.href
Posted on 2016-08-15
Currently i am on a html page which has an submit button. And when that button is clicked the user goes to the url :
This is achived by setting a on click listener on submit button and executing :
How do i achive the same if i want to pass this validation in the headers... Is there any way i can specify headers with window.location.href ??