https://github.com/blackhole-consulting/requeststls-micropython
A TLS request library for micropython . HTTP , TLS, Opensearch
https://github.com/blackhole-consulting/requeststls-micropython
micropython micropython-esp32 opensearch tls
Last synced: about 1 year ago
JSON representation
A TLS request library for micropython . HTTP , TLS, Opensearch
- Host: GitHub
- URL: https://github.com/blackhole-consulting/requeststls-micropython
- Owner: BlackHole-Consulting
- License: apache-2.0
- Created: 2023-02-15T00:33:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T00:39:05.000Z (over 3 years ago)
- Last Synced: 2025-03-29T18:41:39.052Z (about 1 year ago)
- Topics: micropython, micropython-esp32, opensearch, tls
- Language: Python
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# requeststls-micropython
A TLS request library for micropython . HTTP , TLS, Opensearch
## Usage
### Make a POST request
```Python
import requests
requests.post("block.blackhole.consulting",8888,"\ncontent-type: application/json",'{"signatures": ["'+r+'","'+v+'"],"compression": true,"packed_context_free_data": "'+memo+'","packed_trx": '+json.dumps(trx)+'}')
```