http是什么

http是什么,第1张

发送请求:
- (void)sendUpdateUserRequest
{
//添加等待
[MBProgressHUD showHUDWithText:@"正在更新,请稍候···"
toView:selfnavigationControllerview animated:YES];
NSMutableDictionary headDict=[[NSMutableDictionary alloc] init];
NSMutableDictionary dataDict=[[NSMutableDictionary alloc] init];
//组装数据只是一个例子,可以添加你想要的属性以及值
[headDict setObject:@"user" forKey:@"function"];
[dataDict setObject:_useridLabeltext forKey:@"userid"];
//要发送的数据


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/10771840.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-11
下一篇 2023-05-11

发表评论

登录后才能评论

评论列表(0条)

保存