send post request with custom headers
Archiviert 2 years ago
B
bing0o
Verified
hello i need to send a custom headers in the javascript part of this code:
```html
<form name=TheForm action="/path/to/post" method=post>
<input type=hidden name=foo value='test=true'>
</form>
<script>
document.TheForm.submit();
</script>
```
