-1
我正嘗試使用內容豐富的同步功能,因此我只會從我的空間獲取新的或更新的內容。從它提取的文檔中我需要一個「initial」=「true」的參數,我在下面嘗試,但是我得到了400錯誤。有人曾經使用過嗎?感謝與Contentful同步新數據 - iOS
[self.client fetchEntriesMatching:@{@"content_type": @"navigationPage",
@"locale":countryCode,
@"initial":@"true"
}
success:^(CDAResponse *response, CDAArray *array) {
} failure:^(CDAResponse *response, NSError *error) {
}];
`
你是否試過簡單地捲曲數據或使用其他客戶端?您還收到了什麼其他迴應,可能不僅僅是400. – luk2302
您是否打印了收集更多信息的錯誤? – loudmouth
也許使用'true'布爾值而不是字符串'@「true」'看看會發生什麼? – loudmouth