There a search service (PHP) which sends search query via POST. I would like to use that search engine in my app. The PHP service does not have a public API.
Is there a way to enter search query and to fetch a POST request to see the name of parameters? I would use then later to send a POST requests from my app and to catch POST responses.
This is an official search engine with governmental officials who do not reply to my requests to tell me the name of parameters. It’s nothing illegal, app is free of charge, it’s just that I can no longer wait for them as they will reply to me.
PS. I have access to Ubuntu shell and its admin tools.
EDIT
This is how the search form looks like in the source of the web page (seen via browser)
<form action="search.php" method="POST">
<input type="text" name="search" size=20><br>
SZ<input type="checkbox" checked name="sz">
NZ<input type="checkbox" checked name="nz">
<input type="submit" name="search_term" value="search" >
</form>
EDIT 2
Do not edit post as a guy suggested me the proper way to do this via linux command curl.
Have you tried viewing the source on the search form to get the POST parameters? i.e. the name of the input box
Edit
take for example the php form on tizag site
the parameters are the input names i.e. quality and item
Java code (was using this for appengine)