How I use post method in Ruby on Rails
when I submit one page to another, the sites shows the information!
Someone told me to use post to avoid it. however, when I use post method
it doesn't work.
<form action="\look\at", method="post">
Select your new car's color.
<br>
<input type="radio" name="radios1" value="red">red
<input type="radio" name="radios1" value="green">green
<input type="radio" name="radios1" value="blue">blue
<br>
<br>
<input type="submit"/>
</form>
When I submit I can not see "\look\at" page. but I delete method="post" It
works well. How I use post method?
No comments:
Post a Comment