#krsacme

1 messages · Page 1 of 1 (latest)

reef tideBOT
prime glade
#

What is a 'scheduled query response'?

modern scroll
#

sigma report

prime glade
modern scroll
#

do i need to use http download with the given url ?

prime glade
#

I imagine a GET request would work yes. Or redirect your user to the URL

modern scroll
#

will it be a publically accessible link or it will require us to use the stripe api key to download? basically we dont want the data to be accessible outside

prime glade
#

AFAIK it will be public

modern scroll
#

is there any option to do safe download - can be downloaded only with key?

prime glade
#

What kind of key?

#

You need to retrieve the sqr_xxx object with your secret key in the first place in order to even access the URL. Is that not secure enough?

modern scroll
#

once i have the url, then the url is public - right?

prime glade
#

Depends what you mean by public. It is accessible without authentication, yes

modern scroll
#

i undestand that that there are hashes added to the url path, so that its hard to find it, but I was looking for a authenticated way of dowloading the file

prime glade
#

The URL parameter denotes that it 'can be downloaded using your live secret API key'. In practice I'm not sure what that means (we're not familiar with Sigma really), so maybe worth trying: https://stripe.com/docs/api/sigma/scheduled_queries/object#scheduled_query_run_object-file-url

#

Maybe you need to pass the sk_xxx in the GET headers?

modern scroll
#

ok. do you know what headers i need to pass?

prime glade
modern scroll
#

of course, this is what i was expecting. If I know the format of th headers to download the file, i can try it

#

ok. got it. i will try. thanks