Revision 4b25c1504bbe0ebf5f61fb2a04dbf686cabf2712

Committed on 09/10/2015 10:40 am by Christian Rishøj <christian@rishoj.net> [GitHub Diff]

Fail fast if JSON encoding fails

Let the `call` method fail fast in case `json_encode` fails to encode the request body, rather than proceeding with invalid data.