I have the following implementation in my html code.
<!doctype html>
<html ng-app="app">
<head>
<title>post data</title>
</head>
<body>
<div>
<form action="https://mypaymentgateway/pay" method="post">
<input type="hidden" id="profile_id" name="profile_id" value="123" />
<input type="hidden" id="transaction_id" name="transaction_id" value="abcd" />
<input type="hidden" id="locale" name="locale" value="en" />
<input type="submit" id="btnsubmit" value="Confirm" />
</form>
</div>
</body>
</html>
What I want to do is submit the above values in webview by calling the POST method of my payment url ("https://mypaymentgateway/pay") without having to tap the 'confirm' button. I have tried solutions here and here and other sources too. But nothing seems to be working correctly. Please help me fix this issue.