Skip to content

Debugging

Isaiah Norton edited this page Mar 11, 2021 · 2 revisions

Viewing HTTP queries

The simplest way to verify as-sent request data on the client side is to use netcat (or a python HTTP echo server) and override the REST endpoint.

  1. export TILEDB_REST_HOST=http://localhost:8080
  • note: the TileDB Embedded config parameter rest.server_address does not currently apply to TileDB-Cloud-Py config context
  1. run nc -lv 8080 in a separate terminal
  2. run a TileDB-Cloud-Py command and view the HTTP requests in the verbose nc output
  • note: some parts of the request are base64-encoded so would need to be decoded to verify.
Clone this wiki locally