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

request and response body type from String -> JSON #53

Closed
wants to merge 2 commits into from

Conversation

krisbitney
Copy link
Contributor

An HTTP request or response body must be a valid JSON string, but this is not reflected in our HTTP interface.

If a request body is not a valid JSON string, the user will encounter an exception.

I tried to do this in a test and thought it was a bug in the Rust HTTP plugin: polywrap/rust-wrap-client#196

@krisbitney
Copy link
Contributor Author

Closing following discord discussion

@krisbitney krisbitney closed this Aug 7, 2023
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

Successfully merging this pull request may close these issues.

1 participant