Comments (6)
在-methodname里面可以使用self.paramSource获取参数然后拼接
from rtnetworking.
在-methodname
里调用self.paramSource
获取参数拼接完后之后,是不是也应该在manager的reformParams
方法中返回一个空字典,这样在最后生产request的时候才会是正确的request ?
from rtnetworking.
无所谓的,paramSource的内容是只会放入body的,你现在的做法就是再挂到URL上而已
from rtnetworking.
我debug看了一下,发送get请求的时候,是会把-reformParams
方法返回的字典生成string作为query挂到URL后面的
from rtnetworking.
from rtnetworking.
好的,非常感谢,问题已经解决。
from rtnetworking.
Related Issues (20)
- post 请求应删除 request.HTTPBody 赋值 HOT 1
- AFNetworkReachabilityStatusUnknown 状态时为什么返回的不是 NO? HOT 1
- 你好。有个问题请教一下
- 疑问 HOT 3
- 缓存bug
- 如何优雅的在成功回调方法区分是刷新还是加载? HOT 3
- 服务器返回的数据reformer的问题 HOT 8
- 关于shouldCallBackByFailedOnCallingAPI的参数 HOT 1
- CTAPIManagerValidator为什么没声明获取最后验证错误信息的方法? HOT 1
- CTNetworkingConfigurationManager
- Xcode Version 8.3.2 (8E2002) ios 10.3 第二次请求同一个api 报错处理 HOT 2
- 怎么支持分布式服务器 HOT 26
- 网络请求 不能正常的接受回调;Batch、Chain请求如何优雅的实现 HOT 14
- CTAPIBaseManager里的 isLoading 为什么没有用? HOT 1
- CTAPIBaseManager requestId一直为0
- 网络请求不同 HOT 1
- 大佬你这个设计的缺点有吗? HOT 1
- 适配AFNetworking 3.2版本的https HOT 1
- 闪退 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtnetworking.