0
我的表格後如何提交表單的method = post到不同的服務器Angular2
<html>
<head>
<title>Submit this form</title>
</head>
<body>
<form method="post" action="http://localhost:4200/callback">
<input type="hidden" name="access_token" value="eyJ0" />
<input type="hidden" name="token_type" value="Bearer" />
<input type="hidden" name="expires_in" value="3600" />
<input type="hidden" name="scope" value="read write" />
<input type="hidden" name="state" value="Ra7JV" />
</form>
</body>
</html>
當有史以來http://localhost:4200/callback被稱爲導航到callbackComponent。但在這裏它無法導航到顯示無法POST /回調的callbackComponent。
我怎樣才能在我的angular2回調組件中捕捉到表單。