Usage in frontend

It is possible to use the TellusDB API through the browser directly, using for example JavaScript with Fetch or Axios, exactly how you would use it in the backend. See examples.

However, by doing so, you expose your API token to the user, as the request goes through their device, rather than your backend. For that reason, we recommend that you call our API through your backend, as a sort of proxy.