It does not look like it is best permitted by selenium. With Selenium, you will interact with the form to get this value for publication, and process the subsequent AJAX response / page refresh. If you want to receive POST data, you should look at the library that performs these types of posting operations.
HTTP, Apache ( Java).