-
|
I have a Contact entity which retrieves data via a view. I also have a ContactCreate stored procedure for create and update. Currently I have them as separate entities, but is there anyway to have POST/PUT on Contact use the StoredProcedure? |
Beta Was this translation helpful? Give feedback.
Answered by
sezal98
Mar 3, 2025
Replies: 1 comment
-
|
Yes Stored procedures can have POST/PUT as http rest methods. We need to configure this in the config file appropriately else we would get 405 error code. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sezal98
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes Stored procedures can have POST/PUT as http rest methods. We need to configure this in the config file appropriately else we would get 405 error code.
Please refer to this. https://learn.microsoft.com/en-us/azure/data-api-builder/database-objects#stored-procedures