I have a stored procedure on Azure SQL database that I can execute with
EXEC [dbo].[PGET_JSON] @code = N'XYZ'
It returns FOR JSON result
{
"XX": [
{
"DocOstatni": [
{
"Type": "Something",
"Published": "2023-08-28T20:14:18.617",
"Order": 1,
"Name": "Something",
"File": "PV_XXX_6.PDF",
},{ ...
I need to create within Azure a (.net?) application that would expose the result of this stored procedure on public URL with parameter @code like
that would return the output of stored procedure [PGET_JSON] with parameter @code='XYZ'.
What do I need on Azure and what type of Azure service should be used for it, should I use Azure web application or something else, what would be the easiest and least expensive solution?
I already have an Azure web app and perhaps It would be better to add the one sipmle API to the existing app?



