title: How to use libcurl with this request and get json server answer c++?
body: <p>I have some requests and i want to usen them in libcurl. But i dont know how to do this
  So whot should i do implemete this in code like &quot;curl.get(dsds) curl.header(&quot;&quot;, &quot;&quot;)&quot;</p>
  <pre><code>curl &quot;https://pterodactyl.file.properties/api/client/account&quot; \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer apikey' \
    -X GET \
  
  curl &quot;https://pterodactyl.file.properties/api/client/account/email&quot; \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer apikey' \
    -X PUT \
    -d '{
    &quot;email&quot;: &quot;example@xample.com&quot;,
    &quot;password&quot;: &quot;Password&quot;
  }' 
  
  curl &quot;https://pterodactyl.file.properties/api/client/account/api-keys&quot; \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer apikey' \
    -X POST \
    -d '{
    &quot;description&quot;: &quot;Restricted IPs&quot;,
    &quot;allowed_ips&quot;: [&quot;127.0.0.1&quot;, &quot;192.168.0.1&quot;]
  }' 
  
  curl &quot;https://pterodactyl.file.properties/api/client/account/api-keys/NWKMYMT2Mrav0Iq2&quot; \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer apikey' \
    -X DELETE \
  </code></pre>