@Scott Riches It seems like you are facing a 405 error when making a POST request to your Node.js and Express.js application after deploying it to Azure App Service. A 405 error indicates that the HTTP method used in the request is not allowed for the requested resource.
There could be several reasons for this error, but one common reason is that the server is not configured to handle the HTTP method used in the request. In your case, it could be that the server is not configured to handle the POST method.
To fix this issue, you can try the following steps:
- Check if your server-side code is correctly handling the POST request. Make sure that you have defined a POST route in your Express.js application and that it is correctly configured to handle the request.
- See if your client-side code is correctly sending the POST request. Make sure that the form action attribute is set to the correct URL and that the method attribute is set to "POST".
- Look at your Azure App Service is configured to allow POST requests. You can check this by going to the Azure portal, selecting your App Service, and then going to the "Configuration" section. Make sure that the "Allowed HTTP methods" setting includes "POST".
- Consider if there are any other settings in your Azure App Service that could be causing the issue. For example, if you are using authentication, make sure that it is correctly configured to allow POST requests.
If you have any further questions or concerns, please let me know.