Skip to content

A way to get a JSON from a request body #33

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

Closed
shinspiegel opened this issue Nov 16, 2020 · 2 comments · Fixed by #35
Closed

A way to get a JSON from a request body #33

shinspiegel opened this issue Nov 16, 2020 · 2 comments · Fixed by #35
Labels
∆ feature New feature

Comments

@shinspiegel
Copy link
Contributor

Hi,

There is a way to get a JSON from a request body?

If not, can I help to improve this project providing a function for this?
Maybe creating a new method in the Request class?

Thanks in advance!

@ije
Copy link
Member

ije commented Nov 16, 2020

hi @shinspiegel , of course you are welcome to imporve the Request class, what the method name you perfer? is it jsonBody?
FYI please ref https://deno.land/[email protected]/http/server.ts#L56

@ije ije added the ∆ feature New feature label Nov 16, 2020
@shinspiegel
Copy link
Contributor Author

I created a pull/request with the changed, want to discuss there or here?

@ije ije linked a pull request Nov 19, 2020 that will close this issue
@ije ije closed this as completed in #35 Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
∆ feature New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants