     
     var encoding: HTTPEncoding {
         switch self {
+        case .createLabel:
+            return .json
         default:
             return .url
         }

    var configuration: Configuration {
        switch self {
        case .readLabel(let config, _, _, _): return config
        }
    }
    

        case .readLabel: return [:]
        case .readLabels(_, _, _, let page, let perPage):
            return ["per_page": perPage, "page": page]
        case .createLabel(_, _, _, let name, let color):
            return ["name": name, "color": color]
        }
    }
    
