Skip to content

NandanHegde15/azure-sql-db-invoke-external-rest-endpoints

 
 

Repository files navigation

Azure SQL DB sp_invoke_external_rest_endpoint samples

sp_invoke_external_rest_endpoint is a system stored procedure that allows native invocation of an HTTPS REST endpoint from Azure SQL DB.

For full details on this stored procedure, please take a look at the official documentation here: sp_invoke_external_rest_endpoint (Transact-SQL)

Samples

Samples are made available via Jupyter Notebook, natively supported by GitHub and also by Azure Data Studio

In the provided notebook you can find samples on how to invoke an Azure Function using a HTTP Trigger:

  • Invoke a public (or anonymous) Azure Function
  • Invoke an Azure Function protected by a secret key
  • Invoke an Azure Function protected by Azure AD

The notebook contains samples on how to send messages to Azure Event Hubs:

  • Send events using a SAS Token
  • Send events using a Managed Identity

[Azure Event Grid]

Work in progress

The notebook shows DAX querie can be executed from Azure SQL DB using the executeQueries REST endpoint provided by Power BI datasets

  • Execute DAX queries in Power BI

[Azure Cognitive Services]

Work in progress

[Azure SignalR]

Work in progress

[Azure Logic Apps]

Work in progress

The notebook contains samples on how to invoke an HTTPS REST endpoint no matter if it is residing in Azure or in any other cloud or hosting platform, by securely publishing and API using Azure API Management

  • Call an external REST endpoint using API Management

Contribute

Do you want to contribute adding a sample? Do you see something missing or incorrect? Please help this repository to grow, and submit an issue or fork it a submit a Pull Request. Details on how to contribute can be found here: Contributing

About

Samples on how call a REST endpoint using Azure SQL Database

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%