Questions  /  Working with Data  /  Development

How can I use CARTO's SQL API in a CARTO.js application?

Learn how to use CARTO's SQL API with a minimal example of axios

As the new CARTO.js library does not provide a SQL API client, this small example shows how to use a requests library like axios to provide the same functionality with a very similar approach as the old cartodb.js v3.15 cartodb.SQL client.