I'm starting with nodejs now and would like to use typescript to program compiling for pure javascript. So I'm having trouble finding something succinct so I can understand (since I'm a PHP programmer) how to receive post and get requests. For example, in PHP I use this:
$_POST["foo"]
or file_get_contents("php://input")
using angular and angularjs
or
$_GET["foo"]
Can you help me?