fixed issue with 405 error. *now it works*