title: Getting 403 http error when calling stripe API from classic ASP
body: <p>I am adding a stripe integration to my friends site. I wrote the site in classic asp A LONG TIME AGO. The code below ends up with a 403 forbidden. I was getting a 401 until I passed the Authorization header.</p>
  
  <p>I base64 encoded the Publishable Key. I know I am getting the token back.</p>
  
  <pre><code>Dim http: Set http = Server.CreateObject("WinHttp.WinHttpRequest.5.1")
  With http
    Call .Open("POST", "https://api.stripe.com/v1/charges", False)
    Call .SetRequestHeader("Content-Type", "application/x-www-form-urlencoded")
    Call .SetRequestHeader("Authorization", "Basic MyBase64EncodedStripeTestPublishableKey")
    Call .Send("amount=0001&amp;currency=usd&amp;description=Example&amp;source=" &amp; Request.Form("stripeToken"))
  End With
  </code></pre>
  
  <p>Any ideas?</p>