Skip to content

Networking — 2.5.0

Compare
Choose a tag to compare
@3lvis 3lvis released this 10 Dec 16:42
· 217 commits to master since this release
  • Add support for URL encoded parameters in GET and DELETE
let networking = Networking(baseURL: baseURL)
networking.GET("/get", parameters: ["count": 25]) { json, error in
    let json = json as? [String: Any] ?? [String: Any]()
    XCTAssertEqual(json["url"] as? String, "http://httpbin.org/get?count=25")
}