是否可以在 GAE 中使用 PHP 调用 rest API 以将数据放入拉队列?我正在尝试调用 rest api 将数据放入拉取队列,但出现错误
Array
(
[error] => Array
(
[errors] => Array
(
[0] => Array
(
[domain] => global
[reason] => forbidden
[message] => you are not allowed to make this api call
)
)
[code] => 403
[message] => you are not allowed to make this api call
)
)
您可能想尝试我的 PHP 拉取队列库 App Engine。https://github.com/tomwalder/php-appengine-pull-queue
它处于非常早期的 ALPHA 阶段,但可能对您有用。
完全消除了对 REST API 的需求。使用原生 Google Protocol Buffers(与 Python/Java/etc. 运行时相同)
汤姆