 private var _baseURL = ""
 private var _headers: [String: String] = [:]
 private var _logResult: CRUDELog?
-private var _useGetParamatersInPath = true
 
 public struct CRUDE {
 
     public static var baseURL: String {
+        assert(_baseURL != "", "The base URL needs to be set using CRUDE.config or CRUDE.setBaseURL")
         return _baseURL
     }
 

        let promise = Promise<JSON, NSError>()
        UIApplication.sharedApplication().networkActivityIndicatorVisible = true

        let uri = method != .GET && _useGetParamatersInPath
            ? urlString
            : String(urlString) + queryString(parameters)
        let params = method != .GET && _useGetParamatersInPath
            ? parameters
            : nil

        Alamofire.request(method, uri, parameters: params, encoding: .JSON, headers: _headers)
            .responseJSON { network in
                UIApplication.sharedApplication().networkActivityIndicatorVisible = false
                _logResult?(method, network)

        _logResult = block
    }

    public static func configure(baseURL baseURL: String, headers: [String: String], requestLoggingBlock logResult: CRUDELog? = nil) {
        _baseURL = baseURL
        _headers = headers
        _logResult = logResult
    }

