php - 如何正确实现 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
有什么想法吗?
解决方案
推荐阅读
- ruby-on-rails - 生产中的 Rails 应用程序:无法加载 css 和 js 文件
- whmcs - 如何使用一些触发 URL 执行测试 WHMCS Hook?
- java - Docker 容器中的 Spring Boot 应用程序:无法打开 ServletContext 资源 [/WEB-INF/views/login.html]
- javascript - 选择框 全选/取消全选或选择一个选项 限制多个选项
- bash - 如何将参数从fastlane传递到shell文件
- python - 在 Excel 工作表中删除和替换 Pandas DataFrame
- spring-boot - 使用 keycloak 的安全微服务 Spring Boot 应用程序
- python - GridSearchCV - 应该使用哪些数据?
- json - 使用嵌套 JSON 作为数据 + BLoC 模式的 Flutter Post 请求
- python - 如果一个键具有一个或多个值,则 python 迭代字典值