首页 > 解决方案 > Oracle Apex 接收表单提交 POST 数据

问题描述

我是 Oracle Apex 的新手。我正在尝试在 Oracle Apex 页面中接收 POST 数据。我想提交一个 HTML 表单并在我的 Oracle Apex 应用程序中接收该帖子提交。搜索网络,但无法获得建议。在我的 Oracle 数据库 11g 中,我配置了运行在 8085 端口的 Apex 18.1 并创建了一些基本页面。

<!DOCTYPE html>
<html>
<body>

<h2>HTML Forms</h2>

<form action="http://localhost:8085/apex/f?p=106:4:9735956410807:::::" method="post">
  <label for="fname">First name:</label><br>
  <input type="text" id="fname" name="fname" value="John"><br>
  <label for="lname">Last name:</label><br>
  <input type="text" id="lname" name="lname" value="Doe"><br><br>
  <input type="submit" value="Submit">
</form> 

<p>If you click the "Submit" button, the form-data will be sent to Oracle Apex page.".</p>

</body>
</html>

此 POST 提交将来自外部来源,Apex 应用程序应处理此提交。提前致谢。

标签: oracleoracle-apex

解决方案


推荐阅读