             return "/homepage"
         case .moments, .postMoment:
             return "/moments"
-        case .questions:
+        case .questions, .postQuestion:
             return "/questions" //which one? question for homepage or ?
         case .question(let id):
             return "/questions/\(id)"

    /// The HTTP method used in the request.
    var method: Moya.Method {
        switch self {
        case .login,.signup, .postMoment, .postArticle:
            return .post
        default:
            return .get

    case uploadToken
    case postMoment(content: String, medias: [Media]?)
    case postArticle(title: String, content: String)
    case postQuestion(title: String, content: String)
}

extension MeowAPI: TargetType {
