python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Python requests POST call with OAuth2 token returns 401
I have the following Python function which takes an access_token from my company's access token provider and hits the URL stored in matter_hydration_url:
def hydration_request(access_token, matter_hyd...

Jason
Votes: 0
Answers: 1
Failing to get image with requests.get
My goal is to compute the average brightness of an image displayed at the given url.
import requests
from PIL import ImageStat, UnidentifiedImageError
from PIL import Image as ImPIL
def brightness(im...
tim_76
Votes: 0
Answers: 1
Python3 unit tests for API
I could use some much needed guidance on unit tests for python3
All my files are in the same directory. No Sub folders.
Params is a class that gets initialized in the script. FILE 1 works fine connect...
Dawson
Votes: 0
Answers: 1
How do I get the value of the Authorization key from the site?
Good afternoon. I log in to one site using my username/ password
I pulled an unofficial API from the site. Registration on a direct request to him with the transfer of JSON was successful
But further ...

Asynco
Votes: 0
Answers: 1