SOURCE

axios({
    url: 'https://sunlin.cn.utools.club/graphql',
    method: 'post',
    data: {
        query: `
            query fn1($input: Float!) {
                getArticlesById(id: $input) {
                    article_id
                    article_title
                    article_author
                    submission_date
                }
            }
      `,
        variables: {
            input: 2
        }
    }
}).then((result) => {
    console.log(result.data)
});

axios({
    url: 'https://sunlin.cn.utools.club/article/1',
    method: 'get',
}).then((result) => {
    console.log(result.data)
});
console 命令行工具 X clear

                    
>
console