Skip to content Skip to sidebar Skip to footer

How To Add Headers At Runtime In Fine Uploader

I am using fine uploader for uploading file on server, For this I need to make 2 web api calls. On button click, First web api saving value and returning result in integer, and I

Solution 1:

The request option has a customHeaders property, that allows you to set any custom header.

Your constructor call should look something like

artistmanualuploader = new qq.FineUploader({
    ...
    request: {
        endpoint: "FoaUrl.AddEvaluationFiles",
        customHeaders: {
            "EvaluationRequestId": $("#CurrentEvaluationReqId").val()
        }
    },
    ...
});

Post a Comment for "How To Add Headers At Runtime In Fine Uploader"