[Solved] Console Error: Error: Request failed with status code 405

Solution:

Add:

method:’post’

Read More: