i setup the ProtoRPC hello app and it doesn't work i'm using this to post to it
$.ajax({url: "http://wordninjabackend.appspot.com/hello",
type: 'POST',
contentType: 'application/json',
data: "{ my_name: Bob }",
dataType: 'json',
success: function(response) {
// The response is { hello: “Hello there, Bob!” }
alert(response.hello);
}
});
and i'm geting: 405 Method Not Allowed
app.yaml
application: wordninjabackend
version: 1
api_version: 1
runtime: python
handlers:
- url: .*
script: main.py
Alright it is python on app engine, its just the sample program so it has to be something wrong with my post to the server