我正在尝试使用 https://api.foursquare.com/v2/specials/add添加新的特价商品,但它总是响应错误的请求。这就是回应
错误域 = com.labratrevenge.HTTPRiot.ErrorDomain 代码 = 403 “禁止” UserInfo = 0x797dc90 {NSLocalizedFailureReason = 403 错误:,NSLocalizedDescription = 禁止,标题 = {类型 = 不可变字典,计数 = 10,条目 => 0:不区分大小写的键: Access-Control-Allow-Origin = {contents = "*"} 2: 不区分大小写键: Expires = {contents = "Fri, 19 Oct 2012 10:58:12 GMT"} 4: 不区分大小写键: Content-Type = {contents = "application/json; charset=utf-8"} 5:不区分大小写键:服务器 = {contents = "nginx/1.2.1"} 6:不区分大小写键:Content-Length = {contents = "125 "} 7:不区分大小写键:Connection = {contents = "keep-alive"} 8:不区分大小写键:日期 = {contents = "Fri, 19 Oct 2012 10:58:12 GMT"} 9:不区分大小写键:Cache-Control = {contents = "no-cache, private, no-store"} 10:不区分大小写键:Content-Encoding = {contents = "gzip"} 11:不区分大小写键:Pragma = {contents =“无缓存”} }