asJson method
使用JSON格式发送(application/json)
Implementation
BuildRequest<T> asJson() {
_bodyType = RequestBodyType.json;
_options?.contentType = ContentTypes.json;
return this;
}
使用JSON格式发送(application/json)
BuildRequest<T> asJson() {
_bodyType = RequestBodyType.json;
_options?.contentType = ContentTypes.json;
return this;
}