Apollo Client has a good set of caching functions, but if you do not need these functions, you can simply use your favorite http library (libcurl, or Boost.Beast, or Casanova, perhaps) to send a POST with the text of your request or graphql mutation. The answer will be the same view or answer that you will see on the GraphiQL console.
Apollo Client ++ #. , . - Apollo Client 2 ++ #? , , !