My form submission does not seem to work, I tried JAunt it was able to submit so when using JSoup I don't understand why it returns 404.
Connection.Response response = Jsoup.connect("https://crawlertest284814019.wordpress.com/contact/#contact-form-7")
.userAgent("Mozilla/5.0 (Windows; U; WindowsNT 5.1; en-US; rv1.8.1.6) Gecko/20070725 Firefox/2.0.0.6")
.data("name", "nameeee")
.method(Connection.Method.POST)
.execute();
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.13.1</version>
</dependency>
I tried with:
- url
https://crawlertest284814019.wordpress.com/contact/ - data
"name", "nameeee"produces 404 status - data
"g7-name", "nameeee"no issue but no submission - data
"Name", "nameeee"no issue but no submission - data with Map<String, String> no issue but no submission