Passing in the entire $post object as $data params to the RESTful API