cube icon indicating copy to clipboard operation
cube copied to clipboard

[useCubeQuery / React] How change to HTTP Method Post ?

Open mayconline opened this issue 8 months ago • 3 comments

Problem

Using useCubeQuery, how change to HTTP Method Post ?

import { useCubeQuery } from "@cubejs-client/react";

const result = useCubeQuery(query, options);

this docs https://cube.dev/docs/reference/rest-api#v1load, "# Use POST to fix problem with query length limits"

It said to change the post method to fix this error, but I didn't find where it is possible to change the method.

mayconline avatar Jun 24 '24 15:06 mayconline