Answer the question
In order to leave comments, you need to log in
XMLHttpRequest request to ip address over http without certificate?
I make a request using XMLHttpRequest.
var formdata = new FormData();
var file= /*файл из input[type='file']*/
formdata.append("file", file);
var ajax = new XMLHttpRequest();
ajax.upload.addEventListener("progress", progressHandler, false);
ajax.open("POST", "http://0.0.0.0:8080/upload_video", true);
ajax.send(formdata);
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
Answer the question
In order to leave comments, you need to log in
It is possible if the request is made from the same source, in your case it ishttp://0.0.0.0:8080
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question