Menu

Swagger UI in OpenL Tablets - WebApplicationException status:405

Help
2022-06-06
2022-06-08
  • Yunus Tufan Bozkurt

    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.

     
  • Elena Kosolapova

    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.

     

Log in to post a comment.