500 Internal Server Error On Xhr Request
Here is my code: var fd = new FormData(document.querySelector('#form-step1')); var xhr = new XMLHttpRequest(); xhr.open('POST', '/Handlers/newAccount_handler.php', true); xhr.sen
Solution 1:
There is nothing wrong with the last line. The '500 Internal Server Error' is simply the result the server sends back as the result of the request.
This means that '/Handlers/newAccount_handler.php' is the real problem. If you open this URL in a browser it will show you an error.
Post a Comment for "500 Internal Server Error On Xhr Request"