SQL API End Point

Hello, I am trying to use the Grist API endpoint for SQL queries. I tried to run this command on the CMD:


It seems to not be able to connect for some reason. How would I mitigate this problem.

Thank You,
Tazwar Belal

I was able to run a query through python and it worked, just needed the CLI version of it.

Tazwar Belal

It looks like you’re missing a closing " at the end of your Authorization header and before the URL starts. I’m not sure if that’s the only issue, but that’s one I noticed

1 Like

You must also quote the whole url.
Thats a common error; you see that curl tries to connect to the server “Percent” “FROM” etc…

1 Like