Setting it up so you can send a json object as the body of a post request.