{"action":"opened","issue":{"url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/848","labels_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/848/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/848/comments","events_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/848/events","html_url":"https://github.com/mitsuhiko/werkzeug/issues/848","id":126297494,"number":848,"title":"Add json argument to test.Client.post() ","user":{"login":"jwg4","id":5060616,"avatar_url":"https://avatars.githubusercontent.com/u/5060616?v=3","gravatar_id":"","url":"https://api.github.com/users/jwg4","html_url":"https://github.com/jwg4","followers_url":"https://api.github.com/users/jwg4/followers","following_url":"https://api.github.com/users/jwg4/following{/other_user}","gists_url":"https://api.github.com/users/jwg4/gists{/gist_id}","starred_url":"https://api.github.com/users/jwg4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwg4/subscriptions","organizations_url":"https://api.github.com/users/jwg4/orgs","repos_url":"https://api.github.com/users/jwg4/repos","events_url":"https://api.github.com/users/jwg4/events{/privacy}","received_events_url":"https://api.github.com/users/jwg4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-12T22:52:39Z","updated_at":"2016-01-12T22:52:39Z","closed_at":null,"body":"Hi there. I wondered if it would be useful to have an argument json for this method. The idea would be that you can pass in a request body in the form of a data structure which gets serialized to JSON. \r\nYou would not be able to set both `data` and `json`, it would simply be a convenience rather than serialize to JSON and then pass in as `data`.\r\nThis argument is present in `requests.post()` and one reason it might be nice to have it is that makes it possible to keep testing with the Werkzeug client and live testing/monitoring against a production server using Requests closer together.\r\nI am happy to submit a PR for this, but I wanted to check first in case it is seen as bloaty or not a good idea for some other reason. Thanks!"}}