#arymaulanaa

1 messages · Page 1 of 1 (latest)

spare coyoteBOT
muted hollow
#

Can you try downloading with your account secret key?

eternal plume
#

if we do that on browser, it require a user and pass

#

how to pass the key on get method?

muted hollow
#

Did you get to download the file via get call using secret key?

eternal plume
#

i didnt put the key yet, im confused where to put it

muted hollow
#

Can you try this?

curl https://files.stripe.com/v1/files/FILE_ID \
-u sk_xxx:
#

Please put : after the secret key

#

The colon prevents curl from asking for a password

eternal plume
#

ahh i successfully using Bearer on the key

#

can i open the image of the file?

muted hollow
#

More specifically,

curl https://api.stripe.com/v1/file_links \
  -u sk_xxx
  -d file={{FILE_ID}}