6
빙 Api를 사용하고 있습니다. 제 문제는 매우 기본입니다. 이미 App 키를 생성했지만 콘솔의 출력에 오류가 있습니다. 내가 respose이Bing Api가 나를 위해 일하지 않습니다
SearchResponse = {
Errors = (
{
Code = 1002;
HelpUrl = "http://msdn.microsoft.com/en-us/library/dd251042.aspx";
Message = "Parameter has invalid value.";
Parameter = "SearchRequest.AppId";
Value = "zKHS8Fm WcwlhCFh8oYWcs VyUYddig=";
}
);
Query = {
SearchTerms = iphone;
};
Version = "2.2";
};
}
이 오류 뒤에 이유는 무엇이며 인쇄 할 때
나는 JSON 응답을
NSString *urlString=[NSString stringWithFormat:@"%@%@%@%@",
@"http://api.search.live.net/json.aspx?Appid=xxxxxxxaxkOatx66TB+CX8qJUIZw=&query=",
text,@"sources=web&web.offset=",offValue];
NSLog(@"%@",urlString);
NSURL *url=[NSURL URLWithString:urlString];
NSData *data=[NSData dataWithContentsOfURL:url];
출력이 사용하고?
모두에게 감사드립니다.
내 앱 키에 문제가 있다고 생각합니다. (내 앱 키에 특별한 기호 +와 =가 있음) – QueueOverFlow