Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Requests in Pygbag #155

Open
AncientEntity opened this issue Feb 17, 2024 · 1 comment
Open

HTTP Requests in Pygbag #155

AncientEntity opened this issue Feb 17, 2024 · 1 comment

Comments

@AncientEntity
Copy link

Hey I was wondering if you can send a GET request with a body/headers inside of pygbag or if that's a limitation of the system? Thanks.

@pmp-p
Copy link
Member

pmp-p commented Feb 17, 2024

either use

async with fopen(url,mode) as file:
    data = file.read()    

or see #120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants