Question

Utilisation de chargeobjectatResourcePath sur Get Method, n'inclut pas mes paramètres sur les demandes.

Par exemple, si j'envoie:

[RKObjectManager objectManagerWithBaseURL:@"http://something/ws"];
    [[RKObjectManager sharedManager] loadObjectsAtResourcePath:@"/res" delegate:self block:^(RKObjectLoader *loader) {
        NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
                              @"val", @"param1",
                              nil];
        loader.params = [RKParams paramsWithDictionary:dict];
    }];

La demande URL finale n'inclut pas la pièce "? Param1 = Val" - Pourquoi?

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top