AFNetWorking post成功后,怎样获取server返回的status code 。。
tangyumeng
由 tangyumeng
发布于 2013年10月30日
无人欣赏。
- (void)postPath:(NSString *)path
parameters:(NSDictionary *)parameters
success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
请问,我用这个方法网络成功后,怎样获取server返回的status code 。现在server有部分接口值返回状态码,没有responseObject。
共2条回复
楼长
·
nickel
回复于 2013年10月30日
话说,这些不应该随便就问,太懒了!自己查文档,很基本的参数。
2楼
·
tangyumeng
回复于 2013年10月30日
相关帖子
相关新闻
- ChatGPT o1-preview 在代码生成方面表现出色
- 使用Amazon Bedrock和Amazon Kendra构建生成式AI Slack聊天助手 | Amazon Web Services
- SailPoint如何使用Anthropic的Claude在Amazon Bedrock上自动生成用于SaaS连接器的TypeScript代码 | Amazon Web Services
- 使用Amazon Verified Permissions和Amazon Bedrock代理设计安全的生成式AI应用工作流 | Amazon Web Services
- AI研究人员通过Google Gemini从一段35秒的屏幕录制中刮取了不到一美分的可用数据