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

Add Host.httpRequest #7

Open
zshipko opened this issue Sep 22, 2022 · 1 comment
Open

Add Host.httpRequest #7

zshipko opened this issue Sep 22, 2022 · 1 comment

Comments

@zshipko
Copy link
Contributor

zshipko commented Sep 22, 2022

We should add a wrapper around extism_http_request to make it more usable from AssemblyScript.

One blocker here is the lack of JSON support, I think we would either have to generate a JSON object manually or pull in a new dependency.

@zshipko zshipko changed the title Add `Host.httpRequest' Add Host.httpRequest Sep 23, 2022
@nilslice
Copy link
Member

One blocker here is the lack of JSON support, I think we would either have to generate a JSON object manually or pull in a new dependency.

IMO "bundling" some other dependencies that work well is probably a really good thing for this stage of the ecosystem. Even if it's an optional @extism/as-pdk-utils dependency, I think it would help a lot of users make progress quickly.

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