null is treated "null" when Upload a file with other json info
Author: CarlosCamposGaloCreated May 1, 2017Updated Jan 18, 2022
Consider uploading a file with json
{
data : {
field1: null
}
}this will be sent in a form
------WebKitFormBoundaryRP6pVWtHY6Sp5zSk
Content-Disposition: form-data; name="data[field1]"
null
In the server side data.field1 = "null" string not null
Source: danialfarid/ng-file-upload