Swagger之http content-type 实践
content-type 为 “application/x-www-form-urlencoded” 首先对于get请求,参数会被urlencoded编码后 追加到 请求url后; 对于post来说,按规范来讲,参数会被urlencoded编码后应当放入请求body中;当然,追加在请求url后,也是可以的。 如果我们请求参数封装…
647 0 2020-06-08 阅读全文
content-type 为 “application/x-www-form-urlencoded” 首先对于get请求,参数会被urlencoded编码后 追加到 请求url后; 对于post来说,按规范来讲,参数会被urlencoded编码后应当放入请求body中;当然,追加在请求url后,也是可以的。 如果我们请求参数封装…
647 0 2020-06-08 阅读全文