www/assets/js/commons/HttpUtilities.js
/**
   * @name _buildPutRequestOptionsToCallThisUrl
   * Build an basic object preparate to be passed to an HTTP PUT call
   * AngularJS.
   * @param {string} endpoint Endpoint to call
   * @param {Object} bodyRequest Body passed to HTTP call
   */
@name _buildPutRequestOptionsToCallThisUrl
Build an basic object preparate to be passed to an HTTP PUT call
AngularJS.
@param {string} endpoint Endpoint to call
@param {Object} bodyRequest Body passed to HTTP call
@name _buildPutRequestOptionsToCallThisUrl Build an basic object preparate to be passed to an HTTP PUT call AngularJS . @param { string } endpoint Endpoint to call @param { Object } bodyRequest Body passed to HTTP call
function _buildPutRequestOptionsToCallThisUrl(endpoint, bodyRequest) {
    return {
      method: 'PUT',
      url: _baseUrl + ':' + _portNumber + endpoint,
      headers: {
        'Content-Type': 'application/json'
      },
      data: bodyRequest
    };
  }
function _buildPutRequestOptionsToCallThisUrl ( endpoint , bodyRequest ) { return { method : 'PUT' , url : _baseUrl + ':' + _portNumber + endpoint , headers : { 'Content-Type' : 'application/json' } , data : bodyRequest } ; }
@name _buildPutRequestOptionsToCallThisUrl
 Build an basic object preparate to be passed to an HTTP PUT call
 AngularJS.
@name _buildPutRequestOptionsToCallThisUrl Build an basic object preparate to be passed to an HTTP PUT call AngularJS .