How can I set a custom field in POST header on submit a form?
It cannot be done – AFAIK.
Look at the jquery
serialize which changes an HTML FORM into
form-url-encoded values ready for POST.
My suggestion is to include either