this is really a question about the Data API Builder application. You appear to be using the REST API. did you enable posts? we would need to see the "rest" section of the entity definition from the config file to help.
POST API Call Failing with 405 Error in Azure Static Web Apps
Shreyas Rastogi
225
Reputation points
A Blazor WebAssembly app is configured to connect to a SQL database following the guidance in this article: How to host static web apps.
The API status is healthy, and GET calls work as expected. However, POST calls to add records to the database return a 405 error, indicating that only GET, HEAD, and OPTIONS methods are allowed.
Is there a configuration or change required to enable the POST API call to work?