 //
 //  Endpoint.swift
-//  
+//
 //
 //  Created by BAN Jun on 2015/03/01.
 //

        
        let request = NSMutableURLRequest(URL: urlRequestWithParams.URL!)
        request.HTTPMethod = method.rawValue
        if let b = body {
            request.addValue("multipart/form-data; boundary=\(kBoundary)", forHTTPHeaderField: "Content-Type")
            request.addValue("\(b.length)", forHTTPHeaderField: "Content-Length")
            request.HTTPBody = b
        }
        
        return request

import SwiftyJSON


public enum Endpoint {
    case ServiceInfo
    case User
