How do i pass headers when specifying a location with window.location.href
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 : window.location.href =url?validation=...
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 ??
my aim is to actually to transfer the user to another page. but the validationID etc fields dont seem right in the query parameters logically. Although i do achieve what i want to achieve using location.href ... that is transfer the user to other page and i embed this validationId in the resulting page