       headers: modify_headers_list(conn.req_headers),
       body: Poison.encode!(conn.body_params)
     }
-    |> prepare_params
   end
 
   defp get_response_body(conn) do

      request: get_request_data(conn),
      api: get_api_data(api),
      response: get_response_data(conn),
      latencies: get_latencies_data(conn),
      status_code: conn.status
    }


    do: nil
  defp get_api_data(%{id: id, name: name, request: request}) do
    %{
      id: id,
      name: name,
      request: Map.take(request, [:scheme, :host, :port, :path, :methods])
    }
  end

