title: Django - Hod do I request cURL from views
body: <p>I am beginner to Django. I have cURL code, I want to run it from django views and get response. </p>
  
  <p>cURL code:</p>
  
  <p>curl -X POST \</p>
  
  <pre><code>  -u "rzp_test_yourTestApiKey:yourTestApiSecret" \
    --data "period=monthly" \
    --data "interval=2" \
    --data "item[name]=Test plan" \
    --data "item[amount]=50000" \
    --data "item[currency]=INR" \
    https://api.razorpay.com/v1/plans
  </code></pre>
  
  <p>Could someone please help me with this? or let me know if this doesn't make sense.</p>
  
  <p>Thanks.</p>