Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

balloob/micropython-http-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

MicroPython HTTP Client

## Deprecated. Please use the built-in one now that it's available.

HTTP 1.0 client for MicroPython with a small subset of the API of Requests for Humans. Please note that it does not verify SSL certificates.

import http_client

r = http_client.get('http://httpbin.org/get')
r.raise_for_status()
print(r.status_code)
print(r.text)  # r.content for raw bytes

r = http_client.post('http://httpbin.org/post', json={'hello': 'world'})
print(r.json())

About

MicroPython HTTP Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages