A view file is created by synthesizing code written in programming such as variables and code written in normal html called a template. ex) erb haml slim
Get is used to retrieve the contents of the specified URL from the web server. Post is used to send the contents entered by the client to the Web server. The point is different. The reason for doing so is If the entered data is sent by get, the entered data will be added after the url and sent, so personal information and password will be exposed, so send using post.
Recommended Posts