protected RestResponse request(final String path, final String method) throws IOException, AppPlatformException {
        return request(path, method, null);
    }
protected RestResponse request ( final String path , final String method ) throws IOException , AppPlatformException { return request ( path , method , null ) ; }
Helper method to build the request to the server.

@param path the path.
@param method the method.
@return the request response.
@throws IOException unexpected exception.
@throws AppPlatformException unexpected exception.