cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Can you use the Databricks API from a notebook?

tj-cycyota
New Contributor III

I want to test out different APIs directly from a Databricks notebook instead of using Postman or CURL. Is this possible?

1 REPLY 1

Mooune_DBU
Valued Contributor

If you're question is about using the Databricks API from within a databricks notebook, then the answer is yes of course, you can definitely orchestrate anything and invoke the REST API from a python notebook using the `requests` library already baked in the runtime for example.

Any other system/bash -based commands can also be run from a notebook if you precede them with the magic %sh command

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group