title: Curl command to PHP script
body: <p>So I need to create a Curl Script in my PHP and I am confused I don't know that much Curl (As in I only know how to copy and paste and cross my fingers).</p>
  
  <p>The Curl Command is </p>
  
  <pre><code>curl https://website.com/v1/route -u key-of-power
  </code></pre>
  
  <p>so far I have</p>
  
  <pre><code>                $ch = curl_init();
                  curl_setopt ( $ch, CURLOPT_URL, https://website.com/v1/route);
                  curl_setopt ( $ch, CURLOPT_POST, 1 );
                  curl_setopt ( $ch, CURLOPT_POSTFIELDS, $data);
                  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                  curl_setopt ($ch, CURLOPT_TIMEOUT, 30);
                  $payment_response = curl_exec ($ch);
                  curl_close ($ch);
  </code></pre>
  
  <p>so I need to know where <code>key-of-power</code> goes so my curl can pass.</p>
  
  <p>Thank in advance!!</p>