def post(path, body = nil, ctype = 'text/plain')
      body = body.to_json unless body.is_a?(String)
      make_call(mk_conn(path,  'Content-Type': ctype,
                               'Accept': 'application/json'),
                :post, nil, body)
    end
def post(path, body = nil, ctype = 'text/plain')
      body = body.to_json unless body.is_a?(String)
      make_call(mk_conn(path,  'Content-Type': ctype,
                               'Accept': 'application/json'),
                :post, nil, body)
    end
Make a POST call to the Wavefront API and return the result as
 a Ruby hash.

 @param path [String] path to be appended to the
   #net[:api_base] path.
 @param body [String,Object] optional body text to post.
   Objects will be converted to JSON
 @param ctype [String] the content type to use when posting
 @return [Hash] API response