I think that you send a
GET request, but you handle a
POST request to return the html file.
I think firstly you have to handle a
GET request that’s return the html page, and also write a route for the form.
CLICK HERE to find out more related problems solutions.