HTTP 405 usually signifies that you are trying to call an endpoint on your server with an incorrect HTTP method i.e You are trying to call an endpoint that is a POST with a GET. Confirm that you are indeed using the right HTTP method and try it again