Zisu
Zisu

Reputation: 497

Is it possible to call rest API using PHP, inside GAE for putting data at pull queue?

Is it possible to call rest API using PHP, inside GAE for putting data at pull queue ?? I am trying to call rest api to put data at pull queue but I get an error

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
        )

)

Upvotes: 0

Views: 91

Answers (1)

Tom
Tom

Reputation: 1613

You might want to try my PHP Pull Queue library for App Engine. https://github.com/tomwalder/php-appengine-pull-queue

It's in very early ALPHA, but might work for you.

Removes the need for the REST API entirely. Uses native Google Protocol Buffers (same as the Python/Java/etc. runtimes)

Tom

Upvotes: 1

Related Questions