Htcap is not submitting forms correctly while crawling SPAs.
For example, when I crawled the website https://brokencrystals.com with htcap, it didn't send the requests properly while crawling.
The actual login request looks like below, where the form is submitted to /api/auth/login endpoint with POST request and json body.
On the other hand, htcap sent a GET request with data in URL to /userlogin endpoint (which is a frontend page that does not handle any backend operations)
I have seen this same behavior multiple times while crawling other SPAs also.
Hello,
Htcap is not submitting forms correctly while crawling SPAs.
For example, when I crawled the website https://brokencrystals.com with htcap, it didn't send the requests properly while crawling.
The actual login request looks like below, where the form is submitted to
![actual_login](https://user-images.githubusercontent.com/71147956/209770971-3f323d8f-6486-4198-9405-88e48da38ff0.png)
/api/auth/login
endpoint with POST request and json body.On the other hand, htcap sent a GET request with data in URL to
![htcap_login](https://user-images.githubusercontent.com/71147956/209770686-54229b49-f9ff-4652-8ae4-55561e90207a.png)
/userlogin
endpoint (which is a frontend page that does not handle any backend operations)I have seen this same behavior multiple times while crawling other SPAs also.