I deployed my project files to the webservice. After entering Swagger UI and executing, I'm getting a response and request URL. When I try to open the request url link, I get an error which is 'WebApplicationException has been caught, status: 405, message: HTTP 405 Method Not Allowed'. I get this error only in 'POST' methods, I don't get any error in 'GET' methods. I also tried it in OpenL Tablets demo version in its sample project which is 'Example3-AutoPolicyCalculation' and got the same error.
Hello Yunus,
I would like to clarify: are you trying to open the request via browser? If yes, then this behavior is expected, because the browser sends "GET" request when only "POST" method is allowed.
Please let me know if have another scenario.
Best Regards,
Alena Kosolapova.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I deployed my project files to the webservice. After entering Swagger UI and executing, I'm getting a response and request URL. When I try to open the request url link, I get an error which is 'WebApplicationException has been caught, status: 405, message: HTTP 405 Method Not Allowed'. I get this error only in 'POST' methods, I don't get any error in 'GET' methods. I also tried it in OpenL Tablets demo version in its sample project which is 'Example3-AutoPolicyCalculation' and got the same error.
Hello Yunus,
I would like to clarify: are you trying to open the request via browser? If yes, then this behavior is expected, because the browser sends "GET" request when only "POST" method is allowed.
Please let me know if have another scenario.
Best Regards,
Alena Kosolapova.