首页 > 解决方案 > 如何正确实现 AMP 表单 POST 提交?

问题描述

我遇到了这篇关于如何实现 AMP 表单 POST的帖子。我按照这个例子:

<form novalidate="" accept-charset="UTF-8" action-xhr="process.php" target="_top"...>...</form

但我仍然收到此错误:

action-xhr must start with "https://" or "//" or be relative and served from either https or from localhost. Invalid value

有什么想法吗?

标签: phpamp-html

解决方案


推荐阅读