Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8502935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:37:20+00:00 2026-06-11T01:37:20+00:00

i setup the ProtoRPC hello app and it doesn’t work i’m using this to

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:37:22+00:00Added an answer on June 11, 2026 at 1:37 am

    With protorpc, it expects the remote method name in your HelloService to be on the url you post to.

    If you’re using this code to register the service mapping,

    # Map the RPC service and path (/hello)
        app = service.service_mappings([('/hello.*', HelloService)])
    

    then you need to change your post url to this:

    http://wordninjabackend.appspot.com/hello.hello

    The extra “.hello” refers to the method “hello” in the HelloService class. If you rename that method to fred, you’ll also need to change that to .fred

    For more on how this works, just read further down the page, where they develop PostService for the guestbook application.

    https://developers.google.com/appengine/docs/python/tools/protorpc/overview#The_Hello_World_of_ProtoRPC

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

SETUP : I have this app which has 4 activities in a linear path,
I'm trying to set up a protorpc service using google app engine python 2.7,
SETUP: Using Google Apps Script's UI (doGet) with tabPanel option. At the bottom of
Setup I am using custom Forms Authentication - all standard stuff. In the Login
Setup OSX 10.7.4 Eclipse Indigo, Pydev, Tweepy-1.9 I thought this should be relatively simple
Setup error.sass is under app/assets/stylesheets I ran bundle exec rake assets:precompile error.css is in
Setup I am using Sparx Systems Enterprise Architect Professional edition 7.5 and MS PowerPoint.
Setup: I am doing an ajax-jsonp call, which is working fine. The callback function
Setup: I am using JSPs and jQuery. There is a 'parent' page which holds
Setup: I have attached an event handler on the WebBrowser control something like this...

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.