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 7800083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:31:09+00:00 2026-06-02T00:31:09+00:00

How do I make an authenticated request from a python script to appengine? I

  • 0

How do I make an authenticated request from a python script to appengine? I have found lots of different methods on the web but none work.
E.G. How do you access an authenticated Google App Engine service from a (non-web) python client? doesn’t work, the request returns the login page.
That post is old, maybe something changed since then.
Has anyone got a nice wrapped object to do this?

  • 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-02T00:31:10+00:00Added an answer on June 2, 2026 at 12:31 am

    Answered my own question:

    from google.appengine.tools import appengine_rpc
    use_production = True
    if use_production:
      base_url = 'myapp.appspot.com'
    else:
      base_url = 'localhost:8080'
    
    
    def passwdFunc():
      return ('user@gmail.com','password')
    
    def main(argv):
      rpcServer = appengine_rpc.HttpRpcServer(base_url,
                                              passwdFunc,
                                              None,
                                              'myapp',
                                              save_cookies=True,
                                              secure=use_production)
    # Makes the actual call, I guess is the same for POST and GET?
    blah = rpcServer.Send('/some_path/')
    
    print blah
    
    if __name__ == '__main__':
      main(sys.argv)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I make an AJAX GET request to a PHP script to compare a value
I have an app which amounts to a Python script, running on the user's
I need to make an HTTPS request from my application in order to fetch
Im learning Rails by building apps. I want to make my first authenticated app:
I make an AJAX request to see if a sesion variable has been set.
I have a Spring Security (form based authentication) web app running CXF JAX-RS webservices
I want that Apache and Pinax only deliver Attachments to authenticated users. I found
I've used two different python oauth libraries with Django to authenticate with twitter. The
Short question: is there a way to make a jsonp request to a server,
I have set up the code to call a remote server from Android app

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.