dist/corbel.with-polyfills.js
function(relationData, options) {
                options = this.getDefaultOptions(options);

                var args = corbel.utils.extend(options, {
                    url: this.buildUri(this.type, this.srcId, this.destType),
                    data: relationData,
                    method: corbel.request.method.POST,
                    contentType: options.dataType,
                    Accept: options.dataType
                });

                return this.request(args);
            }
function(relationData, options) {
                options = this.getDefaultOptions(options);

                var args = corbel.utils.extend(options, {
                    url: this.buildUri(this.type, this.srcId, this.destType),
                    data: relationData,
                    method: corbel.request.method.POST,
                    contentType: options.dataType,
                    Accept: options.dataType
                });

                return this.request(args);
            }
function ( relationData , options ) { options = this . getDefaultOptions ( options ) ; var args = corbel . utils . extend ( options , { url : this . buildUri ( this . type , this . srcId , this . destType ) , data : relationData , method : corbel . request . method . POST , contentType : options . dataType , Accept : options . dataType } ) ; return this . request ( args ) ; }
Adds a new anonymous relation
@method
@memberOf Resources.Relation
@param  {Object} relationData Additional data to be added to the relation (in json)
@return {Promise}             ES6 promise that resolves to undefined (void) or rejects with a {@link CorbelError}
@example uri = '555'
Adds a new anonymous relation