[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTPAPI passing additional parameters
I was finally able to get the basic authentication working, so that's a
huge plus.
I however can't seem to figure out how to pass additional parameters in
the same call...
Here is an example of what I need to pass if I was using curl:
curl https://api.stripe.com/v1/charges \
-u sk_test_BQokikJOvBiI2HlWgH4olfQ2: \
-H "Idempotency-Key: pGR3fzL1zf7bRj4N" \
-d amount=400 \
-d source=tok_15wO302eZvKYlo2CjczCbHz5 \
-d currency=usd
So based on the previous discussion, I'm able to pass in the user name
" -u sk_test_BQokikJOvBiI2HlWgH4olfQ2: "
But I also need to pass in the amount, along with the card number, etc.
Any idea what the best method is to accomplish this?
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------