415 is Unsupported Media Type. Since you are posting to an endpoint, it's probably expecting a Content-type of application/json and a payload like {"key": "key"}0 | I will be the first to admit that I have no idea how to make this work, but I can't seem to find any examples. What I am trying to do is to execute a Task in Background on the GAE using python. I have a function that I am calling from the client that is taking longer than 1 minute and is timing out. So, my solution is to make it a background task. It could also be a cron task. Where I am running into issues is in trying to configure a url that I can pass to the taskqueue.add function When I call the "RdfLibAddTask" from the client it works and adds the task to my default queue. However, the default queue runs the task a bunch of times and they all fail with a 415. So, I am doing something wrong and I can't find a simple example that will let me proceed. Can anyone identify what is wrong with my example or provide me with a working example? And it doesn't have to be a push queue, it could be a cron task. |