         case .auth(let params), .gist(let params, _):
             let jsonData = try? JSONSerialization.data(withJSONObject: params)
             return jsonData
-        case .gists:
+        case .gists, .user:
             return nil
         }
     }

            return "PUT"
        case .gist:
            return "POST"
        case .gists:
            return "GET"
        }
    }

    case auth([String : Any])
    case gist([String : Any], Bool)
    case gists
    case user
    
    private var basePath: String {
        return "https://api.github.com"
