cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Can you use the Databricks API from a notebook?

User16776431030
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.