Comments (10)
小伙子,你先做一下测试,第一个操作是 debug 代码,看一下 token 参数是否有换行,第二个操作是抓一下包,看一下 token 参数是否有换行,然后把结果反馈给我。
from easyhttp.
from easyhttp.
from easyhttp.
from easyhttp.
小伙子,这个问题很明显,我看抓包数据,token 参数没有换行,大概率是后端误判了,你将这个截图丢给后端,让他再看一下。
from easyhttp.
那个斜杠 转%号了,后台说传的时候默认不需要UrlEncode
from easyhttp.
from easyhttp.
小伙子,你 debug 一下这行代码,然后往下排查,看一下是不是真的被转换了?目前我来看是没有的。
from easyhttp.
我目前用 HttpCanary 抓包来看是正常的,字符串没有经过转换。
from easyhttp.
![image](https://private-user-images.githubusercontent.com/28616817/289237916-db42ac94-cf3c-4702-ba57-402dcb956a7c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDU1MTQ0MDUsIm5iZiI6MTcwNTUxNDEwNSwicGF0aCI6Ii8yODYxNjgxNy8yODkyMzc5MTYtZGI0MmFjOTQtY2YzYy00NzAyLWJhNTctNDAyZGNiOTU2YTdjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTE3VDE3NTUwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU4MTA5MmQ2OTZiNTg4NzYzMTExODQ0ZmI1NjMyZjM1NmE5ODhjZjg2MjJkNTI0YjZjZTJjOTU3YjgxYTVkMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.kq3g8P0Tyhiq26PefHcY24DaE5xe5aouTL6s4DzQ52E)
from easyhttp.
Related Issues (20)
- [Bug]:多个接口header里面传同样key不同vaule,同时调用,会出现传错的问题 HOT 3
- [疑惑]:请问GET请求支持传key同名value值不同的参数吗 HOT 3
- [建议]:增加支持ProtoBuf格式数据解析 HOT 2
- [疑惑]:需求:发起一个http请求,有可能因为参数或者网络请求出错,不想在请求失败时弹出toast,显示出错信息给用户来看,怎样处理? HOT 1
- [疑惑]:请大佬指示一下如何把对象作为参数传给后台 HOT 1
- [建议]:请问以后会支持断点续传的功能么 HOT 38
- [疑惑]:请求参数都是key=value&key=value?能不能变成json的格式 HOT 4
- [疑惑]:为什么初始化会走一遍 RequestHandler 的 requestFail 方法
- [疑惑]:formRequest 如何统一转换为JsonRequest HOT 1
- [Bug]:IRequestInterceptor中的方法interceptArguments发生在主线程 HOT 10
- [疑惑]:如何动态设置请求头 HOT 8
- [疑惑]:post提交参数的问题 是否可以直接map提交 HOT 2
- [疑惑]:为什么会出现多余的请求参数 HOT 5
- [Bug]:java.lang.ClassCastException: java.lang.Void cannot be cast to com.easy.demo.net.bean.HttpData HOT 8
- [疑惑]:关于easyHttp设置contentType,按照文档中的方法设置了,但是调用接口的时候还是会提示Content type 'application/x-www-form-urlencoded;charset=utf-8' not suppo HOT 1
- [疑惑]:是否有参数控制加载的时候 不出现加载动画? HOT 2
- [建议]:请求方式统一设置 HOT 8
- [Bug]:MMKV升级成1.3.2版本报错 HOT 7
- [Bug]:在AndroidProject Demo中搭配此库成功调用返回后,Object转型失败 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 easyhttp.