GM-Script-Writer-62850
GM-Script-Writer-62850
`aiohttp.request("POST", url)` now how do i send data? i have a URL and a method, but no way to send post data and what about setting the content type header...
i realized today i could also just make a non-blocking post request that will be delayed till my sleep call happens ``` async def post(json_str,comment=""): await sleep(0) r=urequests.post(config.remote_url,data=json_str,headers={"Content-type":"application/json"}) if r.status_code...
i know it is just deferred, i am just not sure it would be a good idea to do it truly non-blocking, in my use case this would max at...
Tired this one? https://github.com/Carglglz/asyncmd/blob/main/async_modules/async_urequests/async_urequests.py
i was putting it in `/lib/urequests.py` i got it to work by using `/lib/urequest.py` i guess `urequests` in included on the stock pico firmware, thought it was not but i...
Note that `aiohttp` is not shipped with: `MicroPython v1.24.0-preview.224.g6c3dc0c0b on 2024-08-22; Raspberry Pi Pico W with RP2040` ``` help('modules') __main__ asyncio/__init__ hashlib rp2 _asyncio asyncio/core heapq select _boot asyncio/event io...
Yes this is present in MicroPython v1.24.0-preview.224.g6c3dc0c0b on 2024-08-22; Raspberry Pi Pico W with RP2040 PICO W Test Code: ``` #!/usr/bin/python3 import requests as urequest import uasyncio sleep=uasyncio.sleep sleep_ms=uasyncio.sleep_ms class...
How can i pull this patch into [my fork](https://github.com/GM-Script-Writer-62850/do-it-yourself-bar)?
> PSA: `qdbus` command becomes `qdbus6` in Arch Linux. You may need to update your scripts. > > `qdbus` is from the QT5 packaging. It may get removed from your...
was this ever implemented in any form? i'd like to have a tooltip at the line 1 level trying to do this:  * this was taken on the xfce...