src/http.js
function _gpfProcessAlias (method, url, data) {
    if (typeof url === "string") {
        return _gpfHttpRequest({
            method: method,
            url: url,
            data: data
        });
    }
    return _gpfHttpRequest(Object.assign({
        method: method
    }, url));
}
function _gpfProcessAlias (method, url, data) {
    if (typeof url === "string") {
        return _gpfHttpRequest({
            method: method,
            url: url,
            data: data
        });
    }
    return _gpfHttpRequest(Object.assign({
        method: method
    }, url));
}
function _gpfProcessAlias ( method , url , data ) { if ( typeof url === "string" ) { return _gpfHttpRequest ( { method : method , url : url , data : data } ) ; } return _gpfHttpRequest ( Object . assign ( { method : method } , url ) ) ; }
Implementation of aliases

@param {String} method HTTP method to apply
@param {String|gpf.typedef.httpRequestSettings} url Url to send the request to or a request settings object
@param {*} [data] Data to be sent to the server
@return {Promise<gpf.typedef.httpRequestResponse>} HTTP request promise
@since 0.2.1
Implementation of aliases