issues: 659580487

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app
659580487 MDU6SXNzdWU2NTk1ODA0ODc= 897 Request method for retrieving the unparsed request body 9599 closed 0     1 2020-07-17T19:51:40Z 2020-07-17T20:16:02Z 2020-07-17T20:12:50Z OWNER  

I'm writing a plugin (https://github.com/simonw/datasette-update-api/issues/2) that implements an API for inserting JSON data. As such, I'd like to POST a JSON blob rather than using key=value form encoded data.

Right now there's a request.post_vars() method but no request.post_body() one:

https://github.com/simonw/datasette/blob/c5f06bc356fb5917ef7fbb6fe4693f30d711cdb3/datasette/utils/asgi.py#L93-L103

107914493 issue    

Links from other tables

Powered by Datasette · Query took 1.707ms · About: github-to-sqlite