In php there is a $_POST variable for retrieving post data. I haven’t found the C# equivalent.
The html below is a very simple setup , not representative of the actual code. A user clicks on one of the buttons/input tag, the form launches Apost which retrieves the posted value.
If I use Apost.php rather than Apost a C# routine, then I can use $_POST. What C# interface can I use under Apache in Unix/MacOs world?
Thank you
<html>
<head>
<title>Apost Launcher</title></head>
Apost
<form method="post" action="/cgi-bin/Apost" id="form1">
<input id='yyyymm20232' name='yyyymm20232' type='submit' value='2023-F ebruary (0.22)' class='WuRainMonth'/>
<input id='yyyymm20231' name='yyyymm20231' type='submit' value='2023-January (0.91)' class='WuRainMonth'/>
</form>
</body>
</html>
I’ve looked into Environment values. All googling shows WebRequst/WebResponse examples. Not useful!
This ought to be simple!