Skip to content

Get query result #6263

Jul 24, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I was able get data.
This help me https://gist.github.com/arikfr/ab39499738976a61855f98cc62d39e52
My code:

const instance = axios.create({
    baseURL: `https://myredash.ru/`,
    headers: {
        'content-type': 'application/json; charset=UTF-8',
        Authorization: `Key apiKey`
    }
});

const url = `/api/queries/resultId/results`;
let response = await instance.post(url, options);

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@DenisKoshelev
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by justinclift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants