Member-only story
Accessing Databricks Tables from Postman
Step 1: Create a table on the Databricks catalog workspace or reuse the existing table to check the Postman connection.
Step2: Postman connection
(I) Download Postman for the official site.
(II) Import the curl generate the token and place the workspace URL
curl — location ‘https://<databricks workspace>/api/2.0/sql/statements/’ \
— header ‘Authorization: Bearer<token>’ \
— header ‘Content-Type: application/json’ \
— data ‘{
“statement”: “select * from new_table limit 1”,
“warehouse_id”: “<warehouse_idid>”
}’
Get a token from the settings table select the developer, generate a token, and set validity.
Notes:
- Based on the SQL query fetch data based on the requirement.
- Copy and paste the token for future use.
Thanks for the read😊.Do clap👏👏 if you find it useful.
“Keep learning and keep sharing knowledge”