0
我正在用RESTKit做一個GET請求,而我的RKResponseDescriptor已被棄用。我知道這是因爲我沒有方法參數,但我不知道我會爲方法參數放置什麼。這裏是我當前的代碼:RKResponseDescriptor方法
RKResponseDescriptor *nameResponseDescriptor = [RKResponseDescriptor responseDescriptorWithMapping:nameMapping
//I don't know what would go here under method
method:(RKRequestMethod)method
pathPattern:@"/projects/20090611/providers/find"
keyPath:@"providers"
statusCodes:statusCodeSet];