Electrode-iOS/ELWebService

make request options work differently, see below.

bsneed opened this issue · 0 comments

WebService(baseURLString: "https://somehapi.herokuapp.com")
.setHeaders(["beer-client" : "iOS"])
.setParameters(["zip" : "15217"], encoding: .JSON)
.setBody(someData, encoding: .JSON)
.GET("/stores")

set* methods are typed such that only specific types are allowed and "AnyObject" is not.