I followed the codes in GAE document to make a simple task queue:
Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.method(TaskOptions.Method.GET).url("/
security"));
This works perfectly.
However, if I changed method to HTTP POST:
Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.method(TaskOptions.Method.POST).url("/
security"));
The task is not executed.
What's wrong in my code?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.