Hi,http://mysite.com/api/queries/29/results.csv?api_key=xxxxx, and I use it to download output via curl.
Is it possible to force query refresh via curl?
When I call http://mysite.com/api/queries/29/refresh?api_key=xxxxx I have Couldn't find resource. Please login and try again. error message.
Thank you
 
 
jesse  
                    September 30, 2019, 11:00am
                   
2 
 
 
Does query 29 use parameters?
 
1 Like 
 
It’s something like “select * from table where field=1234”.
Thank you
 
 
povilla  
                    November 15, 2019,  7:40am
                   
4 
 
 
Hi,curl -X POST -H "Authorization: Key XXXXXXXXXXXXXXX"  https://localhost:8080/api/queries/4/refresh 
Thanks
 
 
jesse  
                    November 15, 2019,  2:39pm
                   
5 
 
 
The error is pretty straightforward. Have you tried using your API key from the profile section in settings?
 
 
povilla  
                    November 15, 2019,  3:15pm
                   
6 
 
 
Yes. I find it in “Show API key” profile item.