I'm looking at stripe documentation and it shows a...
# cfml-general
b
I'm looking at stripe documentation and it shows a curl request
Copy code
curl <https://api.stripe.com/v1/customers/search> \
  -u sk_test_4eC39HqLyjWDarjtT1zdp7dc: \
  --data-urlencode query="name:'fakename' AND metadata['foo']:'bar'" \
  -G
How would i pass the
--data-urlencode query
portion in a cfhttp request? I appreciate any tips, so far i've tried it as a type="url" name="query" but that resulted in an "invalid parameter" from stripe.
a
You sorted it out by avoiding it, but did you google "curl data-urlencode"? Or do
man curl
(teehee), and read what it sez?
b
Yes. Thanks. 👍