How can I post data using cURL in asp classic?
<p>How can I post data from <code>order.asp</code> to 3rd party url?</p>

<p>I have all parameters in form tag.</p>

<p>On submission 3rd party want me to add two values as header. 3rd party code is as below  </p>

<pre class="lang-none prettyprint-override"><code>curl https://www.instamojo.com/api/1.1/payment-requests/ \
  --header "X-Api-Key: [API_KEY]" \
  --header "X-Auth-Token: [AUTH_TOKEN]" \
  --data     
 "allow_repeated_payments=False&amp;amount=2500&amp;buyer_name=John+Doe&amp;purpose=FIFA+16&amp;redirect_url=http%3A%2F%2Fwww.example.com%2Fredirect%2F&amp;phone=9999999999&amp;send_email=True&amp;webhook=http%3A%2F%2Fwww.example.com%2Fwebhook%2F&amp;send_sms=True&amp;email=foo%40example.com"
</code></pre>

<p>I am using asp classic. Can I use <code>response.AddHeader name,value</code> to pass both values <code>X-Api-Key</code> and <code>X-Auth-Token</code>?</p>

<p>If not possible, then how to use curl in asp classic?</p>