       url = "/app/#{dataHelpers.getAppId()}/raml.yaml?identification_hash=#{dataHelpers.getIdentificationHash()}"
 
       steroidsCli.debug "PROVIDER", "GETting from URL: #{url}"
-      @apiClient.get url, (err, req, res, obj) =>
-        @apiClient.close()
+
+      @apiClient
+        method: "get"
+        url: url
+      , (err, res, body) =>
 
         if err?
           steroidsCli.debug "PROVIDER", "Getting current data configuration from cloud returned failure: #{err}"

    return provider

  constructor: (@options={}) ->
    @apiClient = Provider.apiClient

    #TODO Provider.fromBackend(backend)
    @backend = @options.backend

    return new Promise (resolve, reject) =>
      steroidsCli.debug "PROVIDER", "Getting providers from cloud"

      @apiClient
        method: "get"
        url: "/app/#{dataHelpers.getAppId()}/service_providers.json"
      , (err, res, body) =>

        if err?
          steroidsCli.debug "PROVIDER", "Getting providers from cloud returned failure: #{JSON.stringify(obj)}"
