 
     if let photoPath = NSBundle.mainBundle().pathForResource("elon", ofType:"jpg"), let photoURL = NSURL(fileURLWithPath: photoPath) {
         if let json = Just.post("http://httpbin.org/post", data:["lastName":"Musk"], files:["elon":.URL(photoURL, nil)]).json as? [String:AnyObject] {
-            print(json["form"])
-            print(json["files"])
+            print(json["form"] ?? [:])
+            print(json["files"] ?? [:])
         }
     }
 

        }
    }

//: Here a file is specified with an NSURL. Alternatively, a file can be a NSData or just a string. Although in both cases, a file is needed.

    if let someData = "Marco".dataUsingEncoding(NSUTF8StringEncoding) {
        if let text = Just.post("http://httpbin.org/post", files:["a":.Data("marco.text", someData, nil), "b":.Text("polo.txt", "Polo", nil)]).text {
            print(text)
        }
    }

    r.request?.HTTPMethod

//: ## More Complicated Requests
//:
//: To send form values, use the `data` parameter:

    // body of this request will be `firstName=Barry&lastName=Allen`
