我正在发送
[self.responseObjectManager.client post:@"" usingBlock:^(RKRequest * request){
RKParams * params = [RKParams params];
[params setValue:@"VALUE1" forParam:@"PARAM1"];
request.params = params;
request.onDidLoadResponse = ^(RKResponse *response){
ALog(@"Loaded resp %@", response.bodyAsString);
};
}];
索引.php
header('Content-Type: application/json');
echo "WHAT IS ".$GLOBALS['HTTP_RAW_POST_DATA']." ANOTHER".@file_get_contents('php://input');
echo "POST ".var_dump($_POST)." GET ".var_dump($_GET);
然后我就回来了
"Loaded resp POST GET "
所以看起来帖子参数没有发送