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

  • Home
  • SEARCH
  • 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 3319892
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:52:41+00:00 2026-05-17T22:52:41+00:00

you know send a ajax you can use javascript lib like: jquery $.ajax or

  • 0

you know send a ajax you can use javascript lib like: jquery $.ajax or $.post ..

but this need to open the webpage

but how to send a ajax and get the ajax return value not using open the webpage on google app engine

thanks( i use python)

updated

class CounterHandler(BaseRequestHandler):
    def get(self):
        self.render_template('counters.html',{'counters': Counter.all()})

    def post(self):
        key = self.request.get('key')
        # Add the task to the default queue.
        for loop in range(0,2):
            a=taskqueue.add(url='/worker', params={'key': key},method="GET")

        self.redirect('/')

my mean is :

how to send ajax and get the return value using python(on gae), not using javascript ,

because i was using task queue (task queue can’t add a task which want to send ajax).

updated2

1.i want to get the return value from a microblog like twitter,

2.so i have to send a ajax to the microblog for get the return value

3.i want to get the return string per hour , so i have to use task queue on google app engine

4.but task queue cant get the return string only use

taskqueue.add(url='/worker', params={'key': key},method="GET")

5.so i have to edit the worker hander like this :

class CounterWorker(BaseRequestHandler):
    def get(self): 
        self.render_template('ajax.html')

and the ajax.html is :

<script type="text/javascript">
    $.get("http:/www.digu.com/api", function(data){
      $.post("/save",{ajax:data})
    })
</script>
  • 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-05-17T22:52:42+00:00Added an answer on May 17, 2026 at 10:52 pm

    You can use app engine’s urlfetch library to fetch a url from another server (ie the blog you want to fetch a value from).

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

Sidebar

Related Questions

I use to work with the animation on jquery but never ajax, so it's
I'm trying to send email to Active Directory distribution groups. I know you can
I know how to send mails using the Microsoft Enterprise Library 2.0 using a
I know that default cron's behavior is to send normal and error output to
Does NetworkStream.DataAvailable know whether the sender's send buffer is empty? Or does it simply
I know that it's possible to get SVN to send emails after a commit
Know of any good libraries for this? I did some searches and didn't come
I have simple JavaScript code that is using the Ajax API for fetching a
I am trying to do a simple application using Ajax and servlet. But when
I would like to create a widget for use in Django Forms. There is

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.