NodeJS For Beginners: Http Post Request with Express and Body Parser Module

preview_player
Показать описание
In this tutorial we will be learning on how to perform a http post request with express. A http post request is usually performed when a user visits a website with a form and hits submit. The body parser module allows us to parse this url encoded form
Рекомендации по теме
Комментарии
Автор

Once the user has posted something the first time, any time I run the code I am taken to the "success" message. How would I go about resetting it back to the form on every refresh?
edit: okay playing with it some more I realise that refreshing doesn't change anything, but actually physically clicking on the address bar and clicking enter again does work. is this something to do with the way chrome is caching the pages?

ShrubScotland
visit shbcf.ru