All Questions
10 questions
3
votes
2
answers
3k
views
How to import requests_toolbelt correctly in google app engine?
I am trying to import requests_toolbelt package in google app engine but keep getting import error. Already checked at https://toolbelt.readthedocs.io/en/latest/adapters.html#appengineadapte and https:...
0
votes
1
answer
569
views
How to do async api requests in a GAE application?
I am working on an application which is based on GAE with python 2.7.13. What I want to do is that to make a bunch of async API calls inside a handler. Something like that:
class MakeRequests(...
4
votes
2
answers
3k
views
GET request resulting in VerifiedHTTPSConnection object has no attribute '_tunnel_host'
I am using the python requests library to make a HTTP GET requests to an API hosted on GAE. Requests version is requests==2.20.0 and installed via pip using a virtual environment.
The issue has been ...
0
votes
1
answer
2k
views
Download image data then upload to Google Cloud Storage
I have a Flask web app that is running on Google AppEngine. The app has a form that my user will use to supply image links. I want to download the image data from the link and then upload it to a ...
0
votes
1
answer
4k
views
HTTP 200 None Message (Google Appengine) - Python
I want to write a bot to send Images from a url to a chat program called Telegram.
Whenever I request an Image, I get nothing but this Message in the Log file:
15:06:55.705 Starting new HTTP ...
0
votes
0
answers
53
views
Requests.get duplicates host on google app engine
So I have a bit of code to get titles and cover images for a specific comic, when only giving in the release number of the comic.
Here's the code:
import httplib
from string import lower
from google....
2
votes
1
answer
158
views
Google App Engine Python Persistent Session Shared by Multiple Users
What am I trying to do (Background info)?
I am tasked with creating a google app engine application (Python 2.7) that posts form data to another server. The authentication for the server I am trying ...
0
votes
0
answers
463
views
Google App Engine and Human API python lib
I am trying to use the Human Api Python client with GAE.
I created a appengine_config.py and followed all instructions as described in Third-party Libraries in Python 2.7 documentation for GAE
My ...
0
votes
3
answers
827
views
Sending HTTPS requests in Google App Engine using requests python library
The title pretty much sums it up, I am making a request to the google translate api like this:
payload = {"key":translate_api_key, "q":str(sentence)}
try:
api_response = requests.get("...
17
votes
2
answers
5k
views
python requests on Google App Engine not working for HTTPS
I'm using python-request on Google App Engine and it's not working as expected for HTTPS. Let's see an example:
import requests
requests.get('https://www.digitalocean.com')
That line works perfectly ...