adafruit / adafruit/Adafruit_CircuitPython_Requests

Issue with API request on PyPortal

Open
#120 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
49
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Hello,
I am trying to download a json from an API on a pyportal Titano, the response is around 11k and work no problem in my desktop python
I get a "sending request failed"
other api work, wifi connection is ok

I have updated firmware to 1.7.4
I have tried circuit python 7.3.3 and 8.0.0b
updating the lib accordingly

the API is "https://prim.iledefrance-mobilites.fr/marketplace/stop-monitoring?MonitoringRef=STIF:StopPoint:Q:43198:" but you need a key

I have read in a previous issue where @anecdata commented that there could be certificat issue (not sure if it should be solved by latest firmware). But did not managed to provide a certificate manually.

Could someone help?
Many thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the request against the listed stop-monitoring API on the PyPortal setup, using the reported firmware and CircuitPython versions. Inspect the resulting error, including whether certificate handling is involved; done means identifying the failure cause and confirming a request to this endpoint succeeds or documenting the required limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.