url

The URL of the endpoint that will handle the removal of files on the server.

If the URL is not on the same domain, the server must enable CORS for that endpoint, otherwise the upload will not work.

<input type="file" name="files" id="files" />

<script type="text/javascript">
    jQuery(function ($) {
        $('#files').shieldUpload({
            async: {
                enabled: true,
                save: {
                    url: "/upload/save",
                    field: "files"
                },
                remove: {
                    url: "/upload/remove",
                    method: "DELETE",
                    field: "fileNames"
                }
            }
        });
    });
</script>