I don't understand the below code
const req = new HttpRequest('POST', '/upload/file', file, {
reportProgress: true
});
I need clarity on the second argument which is a URL, at the moment I do not understand how it is supposed to map to server. I do realize that the above code doesn't use http, and. That's where I get lost. Please explain how server will see this request without URL.