DOMException: Failed to execute ‘open’ on ‘XMLHttpRequest’: Invalid URL

1. Solution:

Check whether the requested address is misspelled or omitted.

Example:

Correct: http://127.0.0.1/    

Error:   http://127.0.0.1

Completion:   /    Missing writing, resulting in incomplete splicing path.

Similar Posts: