Merge pull request #22029 from Airboy/patch-3

Add method option to the IFileUploadConfigFile interface
This commit is contained in:
Bowden Kelly
2017-12-08 09:15:39 -08:00
committed by GitHub
+4
View File
@@ -253,6 +253,10 @@ declare module 'angular' {
* @type {string}
*/
url: string;
/**
* Add which HTTP method to use: 'POST' or 'PUT' (html5)
*/
method: string;
/**
* 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