Quantcast
Channel: How to fix parsing errors in form POST request in Rocket? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by art-solopov for How to fix parsing errors in form POST request in...

I think the problem is that your form parameter name (<input type="text" name="searchterm">) doesn't match with your struct field name (payload). If you rename one or the other so they would...

View Article



How to fix parsing errors in form POST request in Rocket?

I am making a very simple web app using the rust Rocket framework. I have a very simple HTML file that has a form, as follows:<form action="/search" method="post" accept-charset="utf-8"> Search...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images