Skip to content

Commit

Permalink
Merge pull request #1754 from samanmohamadi/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
danialfarid committed Oct 21, 2016
2 parents 052ea19 + 6239317 commit cdf1688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ var upload = Upload.upload({
/*
This is to accommodate server implementations expecting nested data object keys in .key or [key] format.
Example: data: {rec: {name: 'N', pic: file}} sent as: rec[name] -> N, rec[pic] -> file
data: {rec: {name: 'N', pic: file}, objectKey: '.k'} sent as: rec.name -> N, rec.pic -> file */
data: {rec: {name: 'N', pic: file}}, objectKey: '.k' sent as: rec.name -> N, rec.pic -> file */
objectKey: '[k]' or '.k' // default is '[k]'
/*
This is to accommodate server implementations expecting array data object keys in '[i]' or '[]' or
Expand Down

0 comments on commit cdf1688

Please sign in to comment.