title: Request a graphql query with axios
body: <p>I'm trying to make a request with a graphql query using axios but failed.
  this is my query</p>
  <pre><code>query {
    workspace(workspaceName: &quot;stackoverflow&quot;) {
      name
      company {
        name
      } 
    }
  }
  </code></pre>
  <p>and my code block</p>
  <pre><code>  axios({
          url: &quot;https://testurl.com/graphql&quot;,
          method: 'post', 
          query: ` query($workspaceName: String!)
             {
                workspace(workspaceName: $workspaceName) {
                   name
                   company {
                     name
                   } 
                 }
             }
             `,
          variables: {
             workspaceName: CookieHelper.workspaceName,
          },
          forceResolve: resolve,
       })
          .then(res =&gt; {
             resolve(res);
          })
          .catch(err =&gt; {
             reject(err);
          });
  </code></pre>
  <p>I set it like this because workspaceName value will work parametrically.</p>