lib/send.js
function addParamsToData(IOD, IODOpts, form) {
	form.append('apiKey', IOD.apiKey)

	_.each(exports.prepareParams(IODOpts.params), function(paramVal, paramName) {
		_.each(T.maybeToArray(paramVal), function(val) {
			form.append(paramName, val)
		})
	})
}
function addParamsToData(IOD, IODOpts, form) {
	form.append('apiKey', IOD.apiKey)

	_.each(exports.prepareParams(IODOpts.params), function(paramVal, paramName) {
		_.each(T.maybeToArray(paramVal), function(val) {
			form.append(paramName, val)
		})
	})
}
function addParamsToData ( IOD , IODOpts , form ) { form . append ( 'apiKey' , IOD . apiKey ) _ . each ( exports . prepareParams ( IODOpts . params ) , function ( paramVal , paramName ) { _ . each ( T . maybeToArray ( paramVal ) , function ( val ) { form . append ( paramName , val ) } ) } ) }
Add parameters to FormData object.
Automatically append api key.

Modifies `IODOpts` in place.

@param {IOD} IOD - IOD object
@param {Object} IODOpts - IOD options
@param {FormData} form - FormData object
Add parameters to FormData object . Automatically append api key .