     case banners
     case homepage // api?
     case articles
+    case article(id: Int)
     case questions
+    case question(id: Int)
     case uploadToken
     case postMoment(content: String, medias: [Media]?)
-
+    case postArticle(title: String, content: String)
 }
 
 extension MeowAPI: TargetType {

                "type": $0.type!.toInt()
            ]}) ?? []
            return ["content": content, "medias": jsonMedias]
        
        default:
            return nil
        }

        switch self {
        case .homepage:
            return "/homepage"
        case .moments, .postMoment:
            return "/moments"
        case .questions:
            return "/questions" //which one? question for homepage or ?
        case .question(let id):
            return "/questions\(id)"
        case .login:
            return "/auth"
        case .signup:
            return "/signup"
        case .banners:
            return "/banners"
        case .articles, .postArticle:
            return "/articles"
        case .article(let id):
            return "/articles\(id)"
        case .uploadToken:
            return "/upload/token"
        }
    }
    
    /// The HTTP method used in the request.
    var method: Moya.Method {
        switch self {
        case .login,.signup, .postMoment, .postArticle:
            return .post
        default:
            return .get
