多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Execute `Execute(Request) {WebResponse}` `Request - {WebRequest}` 执行给定的请求(将请求的FormattedResource附加到BaseUrl)并返回响应。 ``` Dim Client As New WebClient Client.BaseUrl = "https://api.example.com/v1/" Dim Request As New WebRequest Request.Resource = "messages/{id}" Request.AddUrlSegment "id", 123 '// Add querystring, body, headers, cookies, etc. for request Dim Response As WebResponse Set Response = Client.Execute(Request) '// -> GET https://api.example/com/v1/messages/123 '// headers, cookies, and body... ```