如何正确执行AMP表单POST提交?

时间:2018-11-09 21:29:29

标签: php amp-html

我在这个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

有什么想法吗?

0 个答案:

没有答案