I have recently been learning and trying to develop some application
parts using Rails. One issue I may have is that one of the potential
clients will want to have one of their external web pages POST to the
I tried the naive approach - copy the HTML generated for the Rails
controller action for doing the same POST (Create of a domain
object). I had this working, or so I thought until I restarted the
server and the hidden field for the application authenticity_token had
a value which was no longer valid.
I have looked around for various workarounds.
Is there a Rails Way to have an HTML page which is served as /
public/welcome.html be able to do an HTML POST to the Rails
Is this simply not allowed?