You can do it through Javascript. It requires that you create form with hidden fields and manually load the data into it.
I use this code in one of my sites to submit a form and data, without acutally showning a form. This, I find is especially useful if you want to create link which when clicked submits information via the post method to a script elsewhere:
function submitForm(action, method, inputArray)
{
var theForm = document.createElement('form');
var child, x;
theForm.setAttribute('action', action);
theForm.setAttribute('method', method);
theForm.setAttribute('target', '_blank');
for(x = 0; x < inputArray.length; x++)
{
child = document.createElement('input');
child.setAttribute('type', 'hidden');
child.setAttribute('name', inputArray[x][0]);
child.setAttribute('value', inputArray[x][1]);
theForm.appendChild(child);
}
document.body.appendChild(theForm);
theForm.submit();
document.body.removeChild(theForm);
}
Below is an example of how to use it:
<a title="Click AWB Number for POD information"
href="http://www.dhl.co.uk/" target="_blank"
onclick="submitForm('http://www.dhl.co.uk/cgi-bin/tracking.pl', 'POST',
Array(
Array('AWB', '12345678')
, Array('TID', 'GB_EN')
, Array('docheck', 'on')
)); return false;"
>12345678</a>