Closed evanzlj closed 7 years ago
在具体业务中,service-api:/mobile/v1/submit?uid=123&time=1993-2-3 10:00─11:00 无法正确识别符号 ─ 导致proxy的url解析出现问题 无法发出Request请求 目前在业务中对每个query进行了 encodeURLComponent() 在拼接发送
下面的querystring.stringify 会自动做urlencode ,为啥还要转一层呢?
querystring.stringify
知道怎么回事儿了,是你的参数里有冒号;你得在拼URL的时候把那个时间给URLencode下
现在proxy的方案优化了,你可以看看
在具体业务中,service-api:/mobile/v1/submit?uid=123&time=1993-2-3 10:00─11:00 无法正确识别符号 ─ 导致proxy的url解析出现问题 无法发出Request请求 目前在业务中对每个query进行了 encodeURLComponent() 在拼接发送