Does Timescale provide an HTTP API to access it?
Similar to:
curl -X POST "http://<db_url>:<db_port>/api/v1/sql?db=<database>&pretty=true" \
-u "<username>:<password>" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "<your SQL statement>"
Hi @NieYuan, Timescale is a postgresql extension and it does not offer any embedded endpoints solution.
You can probably use Hasura or postgrest to create the endpoint more dynamically.
I understand, thanks for the reply!
Hey @NieYuan , also, feel free to suggest it as a feature request on github. Other users may also have similar needs and can upvote it