typescript, add a package.json as follows:
http://localhost:3000/api/trace as the API host. You can replace it with your own DNS or IP address.
Sample Code
Following is a ready-to-run code snippet that you can use to test the SDK with your local setup:Make Sure to pip or npm install the required packages before running the code.
For Typescript to work, you will have to add the following line in
package.json file. json "type": "module"