toUrlEncoded method
用于表单( FormData )。 默认 raw json, 其它方式 setOptionConfig自行处理
Implementation
BuildRequest toUrlEncoded() {
setParamsToFormData(true);
_options?.contentType = Headers.formUrlEncodedContentType;
return this;
}
用于表单( FormData )。 默认 raw json, 其它方式 setOptionConfig自行处理
BuildRequest toUrlEncoded() {
setParamsToFormData(true);
_options?.contentType = Headers.formUrlEncodedContentType;
return this;
}