Member-only story

Nidhi Gupta
Jun 2, 2024

--

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”

--

--

Nidhi Gupta
Nidhi Gupta

Written by Nidhi Gupta

Azure Data Engineer 👨‍💻.Heading towards cloud technologies expertise✌️.

No responses yet