Monday, 19 August 2013

Can Google Cloud Endpoints Be Hit Using Task Queues?

Can Google Cloud Endpoints Be Hit Using Task Queues?

I have an app engine task queue that tries to call a cloud endpoint, but
when I see the task queue fire off it gets a 404. I verified the endpoint
is configured for post:
@ApiMethod(name = "sendemail", path = "sendemail", httpMethod =
HttpMethod.POST)
and I am queueing like this:
TaskOptions lOptions =
TaskOptions.Builder.withUrl("/_ah/api/email/v1/sendemail");
I can hit the endpoint using the endpoint explorer, what am I missing?
Thanks!

No comments:

Post a Comment